diff --git a/views/commands.pug b/views/commands.pug index bbcdade..bf561aa 100644 --- a/views/commands.pug +++ b/views/commands.pug @@ -19,4 +19,4 @@ block content div.sandwich h4= sandwich.Sandwich.name - script(src="javascripts/commands.js") + script(src="/javascripts/commands.js") diff --git a/views/index.pug b/views/index.pug index bcd6d2a..7735242 100644 --- a/views/index.pug +++ b/views/index.pug @@ -39,4 +39,4 @@ block content each sandwich in sandwiches option(value=sandwich.name) - script(src="javascripts/index.js") + script(src="/javascripts/index.js") diff --git a/views/layout.pug b/views/layout.pug index 50028e1..c90663f 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -36,22 +36,22 @@ html p This software respond to the COVID-19 health crisis for the following students' offices food supply div.images div - img(src="images/logoBio.png") + img(src="/images/logoBio.png") p Bio student office div - img(src="images/logoChimie.png") + img(src="/images/logoChimie.png") p Chemical student office div - img(src="images/logoGC.png") + img(src="/images/logoGC.png") p Civil engineering student office div - img(src="images/logoGCGP.png") + img(src="/images/logoGCGP.png") p Chemical and process engineering student office div - img(src="images/logoGEA.png") + img(src="/images/logoGEA.png") p Management of companies and administrations student office div - img(src="images/logoInfo.png") + img(src="/images/logoInfo.png") p IT student office p.before-link Made with ❤️ by a(href="https://www.linkedin.com/in/florian-charlaix" target="_blank") Florian Charlaix @@ -72,4 +72,4 @@ html p.before-link IT student office: a(href="mailto: contact@bde-info.org") contact@bde-info.org - script(src="javascripts/layout.js") + script(src="/javascripts/layout.js") diff --git a/views/sandwiches.pug b/views/sandwiches.pug index 75cb72a..07c2f32 100644 --- a/views/sandwiches.pug +++ b/views/sandwiches.pug @@ -10,4 +10,4 @@ block content div.sandwich h2 #{sandwich.SandwichName}: #{sandwich.dataValues.number} - script(src="javascripts/sandwiches.js") + script(src="/javascripts/sandwiches.js")