v1.0.0
This commit is contained in:
@@ -116,6 +116,7 @@ func buildMux() *http.ServeMux {
|
||||
mux.HandleFunc("GET /mobile", MobilePage)
|
||||
mux.HandleFunc("GET /playworks", PlayworksPage)
|
||||
mux.HandleFunc("GET /device-simulator", DeviceSimulatorPage)
|
||||
mux.HandleFunc("GET /settings", func(w http.ResponseWriter, r *http.Request) { http.Redirect(w, r, "/", http.StatusFound) })
|
||||
mux.HandleFunc("GET /changelog", ChangelogPage)
|
||||
mux.HandleFunc("GET /assets/qrcode.min.js", MobileQrScript)
|
||||
|
||||
@@ -178,6 +179,11 @@ func buildMux() *http.ServeMux {
|
||||
mux.HandleFunc("POST /api/device-simulator/pick", DeviceSimulatorPick)
|
||||
mux.HandleFunc("POST /api/device-simulator/load", DeviceSimulatorLoad)
|
||||
mux.HandleFunc("GET /api/device-simulator/preview/", DeviceSimulatorPreview)
|
||||
mux.HandleFunc("GET /api/device-simulator/remoteDevices", DeviceSimulatorRemoteDevicesEndpoint)
|
||||
mux.HandleFunc("GET /api/device-simulator/remoteLanguages", DeviceSimulatorRemoteLanguagesEndpoint)
|
||||
|
||||
// Settings
|
||||
mux.HandleFunc("POST /api/settings", SettingsSaveEndpoint)
|
||||
|
||||
return mux
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user