From 90fad4561765d4f86b9600f160d2c7eba4bbfa86 Mon Sep 17 00:00:00 2001 From: Ben Peachey Date: Sun, 7 Jul 2024 16:49:31 +0200 Subject: [PATCH] Remove line that fixes JS includes The source problem (a leading slash) has been resolved in https://github.com/SimplyEdit/simplycode/commit/40758f5c31da88888f83d780de0bb4d8c6ffd856 --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9849aff..b4d1c8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]