From cc1acb3f80f40bb9eeaccff2ebed9cabec2013e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sun, 14 Feb 2016 21:24:08 +0100 Subject: [PATCH] Add note about absolute files in static --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index dcbc6c87..650e0d54 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,8 @@ docker run -d --name mycontainer -p 80:80 myimage * You should be able to also go to, for example: to see a "Hello World" page served by Flask. +**Note**: As your `index.html` file will be served from `/` and from `/static/index.html`, the links to other files in the `static` directory from your `index.html` file should be absolute, as in `/static/css/styles.css` instead of relative as in `./css/styles.css`. + ## Technical details