Fix SPA asset routing for web apps

This commit is contained in:
Your Name
2025-09-29 20:47:07 -06:00
parent aba8af9bb4
commit 176d23c086
3 changed files with 352 additions and 181 deletions

View File

@@ -120,7 +120,7 @@ WORKDIR /app/code
# Clone the ente repository during build (for the Museum server)
RUN git clone --depth=1 https://github.com/ente-io/ente.git . && \
sed -i 's/go 1.23/go 1.24.1/' server/go.mod && \
sed -i 's/go 1.23/go 1.24/' server/go.mod && \
mkdir -p /app/data/go && \
cp -r server/go.mod server/go.sum /app/data/go/ && \
chmod 777 /app/data/go/go.mod /app/data/go/go.sum
@@ -172,4 +172,4 @@ EXPOSE 3080
EXPOSE 8080
# Start the application
CMD ["/app/pkg/start.sh"]
CMD ["/app/pkg/start.sh"]