summaryrefslogtreecommitdiff
path: root/main.go
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2025-08-31 18:12:51 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2025-08-31 18:12:51 +0700
commit145e7e05f3aa6adbc71a0db5e7da160e626bacd3 (patch)
tree6864bf01bbeeeadbf06122b9ab5d993cffaf4062 /main.go
parent5eb7b64b3da54e769cc6e52fd6918e4b465b8c0a (diff)
downloadweb-145e7e05f3aa6adbc71a0db5e7da160e626bacd3.tar.gz
web-145e7e05f3aa6adbc71a0db5e7da160e626bacd3.zip
feat: seamless single page application
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index ace9916..72eca3d 100644
--- a/main.go
+++ b/main.go
@@ -132,6 +132,8 @@ func main() {
app.Get("/api/v1/general-page/header", router.Api_V1_GeneralPage_Header(localization, availableLanguages, b2Client))
app.Get("/api/v1/general-page/body", router.Api_V1_GeneralPage_Body(localization, availableLanguages, b2Client, md))
app.Get("/api/v1/general-page/footer", router.Api_V1_GeneralPage_Footer(localization, availableLanguages))
+ app.Get("/api/v1/general-page/top-embeds", router.Api_V1_GeneralPage_TopEmbeds(localization, availableLanguages))
+ app.Get("/api/v1/general-page/bottom-embeds", router.Api_V1_GeneralPage_BottomEmbeds(localization, availableLanguages, b2Client))
app.Static("/", "./static")