fix: remove trailing slash #1

Merged
troy merged 2 commits from remove-trailing-slash into main 2025-04-14 01:16:25 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 7d51cd186f - Show all commits

View file

@ -3,7 +3,7 @@ name: Docker
on:
push:
branches:
- "remove-trailing-slash"
- "main"
env:
REGISTRY: code.troylusty.com

View file

@ -1,4 +1,4 @@
FROM node:latest as node
FROM node:latest AS node
USER node
WORKDIR /usr/src/app
@ -10,4 +10,4 @@ RUN ["npx", "astro", "build"]
FROM ghcr.io/static-web-server/static-web-server:latest
WORKDIR /
COPY --from=node /usr/src/app/dist /public
ENV SERVER_REDIRECT_TRAILING_SLASH false
ENV SERVER_REDIRECT_TRAILING_SLASH=false