Skip to content

Commit 33c90fb

Browse files
authored
Fix index.html lookup voor directories
De GitHub action die we gebruiken voor het serven van files implementeert geen volledige Nginx logica. Dat betekent dat `/blog` en `/blog/` twee verschillende dingen zijn. In het eerste geval zoekt hij op een bestandje met de naam `blog` (dus zonder extensie). In het tweede geval is het een directory lookup, waar de action automatisch `/blog/index.html` voor op zoekt. In de Nginx configuratie maakt de `/` niet uit, maar voor een andere server dus wel.
1 parent 3337cc1 commit 33c90fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"write-translations": "docusaurus write-translations",
1616
"write-heading-ids": "docusaurus write-heading-ids",
1717
"lint:typecheck": "tsc --noEmit",
18-
"lint:wcag": "axe http://localhost:3000/index.html, http://localhost:3000/blog, http://localhost:3000/bijdragen, http://localhost:3000/communities, http://localhost:3000/kennisbank, http://localhost:3000/kennisbank/apis, http://localhost:3000/kennisbank/front-end, http://localhost:3000/kennisbank/data, http://localhost:3000/kennisbank/open-source, http://localhost:3000/kennisbank/infra, http://localhost:3000/kennisbank/security --exit --tags wcag2a",
18+
"lint:wcag": "axe http://localhost:3000/index.html, http://localhost:3000/blog/, http://localhost:3000/bijdragen/, http://localhost:3000/communities/, http://localhost:3000/kennisbank/, http://localhost:3000/kennisbank/apis/, http://localhost:3000/kennisbank/front-end/, http://localhost:3000/kennisbank/data/, http://localhost:3000/kennisbank/open-source/, http://localhost:3000/kennisbank/infra/, http://localhost:3000/kennisbank/security/ --exit --tags wcag2a",
1919
"lint": "npm-run-all lint:*"
2020
},
2121
"dependencies": {

0 commit comments

Comments
 (0)