mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Created temporary repo placeholder page
This commit is contained in:
@@ -9,6 +9,11 @@
|
|||||||
health_timeout 10s
|
health_timeout 10s
|
||||||
health_status 200
|
health_status 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
route /repo {
|
||||||
|
root * /repo/placeholder.html
|
||||||
|
file_server
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:80 {
|
:80 {
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
- ./caddy:/etc/caddy
|
- ./caddy:/etc/caddy
|
||||||
|
- ./repo:/repo
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
- "io.containers.autoupdate=registry"
|
- "io.containers.autoupdate=registry"
|
||||||
|
|||||||
6
repo/placeholder.html
Normal file
6
repo/placeholder.html
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<h1>This is a placeholder page</h1>
|
||||||
|
<h2>Please wait patiently while I set up the data repository</h2>
|
||||||
|
<p>
|
||||||
|
The data repository will be deployed as soon as possible, we just
|
||||||
|
need to figure out some details first before deployment happens.
|
||||||
|
</p>
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
class="navigation-footer-link"
|
class="navigation-footer-link"
|
||||||
text="Data Repository"
|
text="Data Repository"
|
||||||
hotkey="d"
|
hotkey="d"
|
||||||
redirectFunc={navigation.to404}
|
redirectFunc={navigation.toRepository}
|
||||||
/>
|
/>
|
||||||
<Link
|
<Link
|
||||||
class="navigation-footer-link"
|
class="navigation-footer-link"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
class="navigation-header-link {link_class}"
|
class="navigation-header-link {link_class}"
|
||||||
text="Data Repository"
|
text="Data Repository"
|
||||||
hotkey="d"
|
hotkey="d"
|
||||||
redirectFunc={navigation.to404}
|
redirectFunc={navigation.toRepository}
|
||||||
/>
|
/>
|
||||||
<Link
|
<Link
|
||||||
class="navigation-header-link {link_class}"
|
class="navigation-header-link {link_class}"
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ export const navigation = {
|
|||||||
toHome: () => goto("/"),
|
toHome: () => goto("/"),
|
||||||
toAbout: () => goto("/about"),
|
toAbout: () => goto("/about"),
|
||||||
toContact: () => goto("/contact"),
|
toContact: () => goto("/contact"),
|
||||||
|
toRepository: () => goto("/repo"),
|
||||||
to404: () => {
|
to404: () => {
|
||||||
throw error(404, 'Page not found');
|
throw error(404, 'Page not found');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user