Skip to content

Commit

Permalink
Remove line that fixes JS includes
Browse files Browse the repository at this point in the history
The source problem (a leading slash) has been resolved in SimplyEdit/simplycode@40758f5
  • Loading branch information
Potherca committed Jul 7, 2024
1 parent c784ab6 commit 90fad45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ RUN a2enmod --quiet rewrite ssl headers \
&& chmod +x /entrypoint.sh \
&& ln -s /var/www/html/simplycode/js/ /var/www/html/js \
&& ln -s /var/www/www/api/data/generated.html /var/www/html/index.html \
&& mkdir /var/www/html/data && echo '{}' > /var/www/html/data/data.json \
&& sed --in-place --expression 's%src="/js/%src="js/%g' /var/www/html/simplycode/index.html
&& mkdir /var/www/html/data && echo '{}' > /var/www/html/data/data.json

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 90fad45

Please sign in to comment.