This commit is contained in:
2026-06-22 11:45:36 +08:00
parent 68d15aa208
commit 8e5d56ab1d
13 changed files with 682 additions and 7 deletions

View File

@@ -107,6 +107,7 @@ func buildMux() *http.ServeMux {
}
HomePage(w, r)
})
mux.HandleFunc("GET /project-init", ProjectInitPage)
mux.HandleFunc("GET /plec", PlecPage)
mux.HandleFunc("GET /applovin", ApplovinPage)
mux.HandleFunc("GET /base64", Base64Page)
@@ -118,6 +119,12 @@ func buildMux() *http.ServeMux {
mux.HandleFunc("GET /changelog", ChangelogPage)
mux.HandleFunc("GET /assets/qrcode.min.js", MobileQrScript)
// Initialize Project
mux.HandleFunc("GET /api/project-init/manifest", ProjectInitManifestEndpoint)
mux.HandleFunc("POST /api/project-init/pickFolder", ProjectInitPickFolderEndpoint)
mux.HandleFunc("POST /api/project-init/setManifestUrl", ProjectInitSetManifestURLEndpoint)
mux.HandleFunc("POST /api/project-init/download", ProjectInitDownloadEndpoint)
// Shared API
mux.HandleFunc("POST /api/clipboard", ClipboardEndpoint)
mux.HandleFunc("POST /api/open", OpenEndpoint)