From 15deff3fd823537709ba30577051839fbfd327dc Mon Sep 17 00:00:00 2001 From: Julien Bisconti Date: Sat, 17 Mar 2018 16:35:03 +0100 Subject: [PATCH] Fix URL for assets --- build.js | 3 ++- index.tmpl | 1 - package.json | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build.js b/build.js index eeb2a8f..1b8343e 100644 --- a/build.js +++ b/build.js @@ -42,5 +42,6 @@ console.log(''); new Parcel('index.html', { name: 'build', - publicURL: '/awesome-docker' + // publicURL: '/awesome-docker' + publicURL: '/' }).bundle(); diff --git a/index.tmpl b/index.tmpl index 468d730..8a6fb62 100644 --- a/index.tmpl +++ b/index.tmpl @@ -17,7 +17,6 @@

Awesome-docker

A curated list of Docker resources and projects

View on GitHub -
Star diff --git a/package.json b/package.json index 0ba7a10..31da402 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,7 @@ "scripts": { "build": "node build.js", "convert": "showdown makehtml -i README.md -o README.html --omitExtraWLInCodeBlocks --simplifiedAutoLink --excludeTrailingPunctuationFromURLs --literalMidWordUnderscores --strikethrough --tables --tablesHeaderId --ghCodeBlocks --tasklists --disableForced4SpacesIndentedSublists --simpleLineBreaks --requireSpaceBeforeHeadingText --ghCompatibleHeaderId --ghMentions --backslashEscapesHTMLTags --emoji --splitAdjacentBlockquotes", - "package": "parcel build index.html --public-url /awesome-docker", - "test": "echo \"Error: no test specified\" && exit 1" + "package": "parcel build index.html --public-url /awesome-docker" }, "repository": { "type": "git",