diff --git a/backend/config/routes.go b/backend/config/routes.go index e93302a..8656e09 100644 --- a/backend/config/routes.go +++ b/backend/config/routes.go @@ -11,7 +11,7 @@ func Routes() raptor.Routes { raptor.Route("POST", "", "LinksController", "Create"), ), ), - raptor.Route("GET", "/links", "SPAController", "Index"), + //raptor.Route("GET", "/links", "SPAController", "Index"), raptor.Route("GET", "/:shortID", "LinksController", "Redirect"), raptor.Route("GET", "*", "SPAController", "Index"), ) diff --git a/frontend/src/lib/components/HeaderContainer.svelte b/frontend/src/lib/components/HeaderContainer.svelte index 22c6544..caff16f 100644 --- a/frontend/src/lib/components/HeaderContainer.svelte +++ b/frontend/src/lib/components/HeaderContainer.svelte @@ -4,7 +4,7 @@

- skrati.link + skrati.link

\ No newline at end of file diff --git a/frontend/src/routes/+page.js b/frontend/src/routes/+page.js index e043daf..e69de29 100644 --- a/frontend/src/routes/+page.js +++ b/frontend/src/routes/+page.js @@ -1,5 +0,0 @@ -import { redirect } from '@sveltejs/kit'; - -export function load() { - redirect(302, '/links'); -} \ No newline at end of file diff --git a/frontend/src/routes/links/+page.svelte b/frontend/src/routes/+page.svelte similarity index 100% rename from frontend/src/routes/links/+page.svelte rename to frontend/src/routes/+page.svelte diff --git a/frontend/src/routes/links/+page.js b/frontend/src/routes/links/+page.js deleted file mode 100644 index e69de29..0000000