Skip to content

Commit

Permalink
Move app to webapp
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfsblu committed Dec 16, 2024
1 parent d1fd6c6 commit 8892cb8
Show file tree
Hide file tree
Showing 48 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM docker.io/node:lts-alpine as frontend

WORKDIR /app

COPY app .
COPY webapp .

RUN --mount=type=cache,target=/app/.npm \
npm set cache /app/.npm && \
Expand Down
4 changes: 0 additions & 4 deletions app/src/pages/errors/404.svelte

This file was deleted.

4 changes: 0 additions & 4 deletions app/src/pages/errors/500.svelte

This file was deleted.

2 changes: 1 addition & 1 deletion infra/routing/webapp.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package routing

import (
"github.com/wolfsblu/go-chef/app"
"github.com/wolfsblu/go-chef/webapp"
"io/fs"
"net/http"
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions webapp/src/pages/errors/404.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<main>
<h1>404 Page not found</h1>
<p>Sorry, please go back to the <a href="/">home page</a></p>
</main>
4 changes: 4 additions & 0 deletions webapp/src/pages/errors/500.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<main>
<h1>500 Server error</h1>
<p>Sorry, something broke. Please go back to the <a href="/">home page</a></p>
</main>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8892cb8

Please sign in to comment.