From e8f52cd1b6cf070e538b42e86cd3909097b1e191 Mon Sep 17 00:00:00 2001 From: gaelle morin Date: Fri, 12 Jun 2020 16:07:53 +0200 Subject: [PATCH] bugfix: local paths used --- src/dependencies.pug | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dependencies.pug b/src/dependencies.pug index e0ecb12..7aa93ee 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -24,16 +24,16 @@ if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers) //- script(type="module" src="/lib/sib-conversation/sib-conversation.js" defer) if (endpoints.uploads || (endpoints.get && endpoints.get.uploads)) && (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.users || (endpoints.get && endpoints.get.users)) - //-script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.4" defer) - script(type="module" src="/lib/sib-directory/dist/index.js" defer) + script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.4" defer) + //- script(type="module" src="/lib/sib-directory/dist/index.js" defer) if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards) script(type="module" src="https://unpkg.com/@startinblox/component-dashboard@0.1" defer) //- script(type="module" src="/lib/sib-dashboard/sib-dashboard.js" defer) if endpoints.users || (endpoints.get && endpoints.get.users) - //-script(type="module" src="https://unpkg.com/@startinblox/component-chat@0.6" defer) - script(type="module" src="/lib/sib-chat/sib-chat.js" defer) + script(type="module" src="https://unpkg.com/@startinblox/component-chat@0.6" defer) + //-script(type="module" src="/lib/sib-chat/sib-chat.js" defer) script(src="/scripts/index.js" defer)