Skip to content

Commit

Permalink
browse directive fix
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Dec 29, 2024
1 parent 18f4918 commit d8dd2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM caddy:alpine

# open CORS so other repos can pull our fonts, etc.
RUN sed -i 's=file_server=file_server\nbrowse\nheader {\nAccess-Control-Allow-Origin *\n}\n=' \
RUN sed -i 's=file_server=file_server browse\nheader {\nAccess-Control-Allow-Origin *\n}\n=' \
/etc/caddy/Caddyfile && cat /etc/caddy/Caddyfile

WORKDIR /usr/share/caddy/
Expand Down

0 comments on commit d8dd2e2

Please sign in to comment.