Skip to content
Snippets Groups Projects
Commit 0fb2c182 authored by Loïc Poullain's avatar Loïc Poullain
Browse files

Move static dir to public/

parent 684b1549
Branches
No related tags found
1 merge request!42Re-factoriser le code CSS et supprimer les warnings du terminal de dev
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
......@@ -17,16 +17,7 @@ async function start() {
server.use(bodyParser.json());
server.use(bodyParser.urlencoded({ extended: false }));
server.use(cookieParser());
/* ------------------------------------
!!! NE PAS RE-AGENCER
------------------------------------ */
server.get("/bbbc03c2d698ea7ec1194fab549115f1.txt", (req, res) => {
res.set("Content-Type", "text/plain").send("");
});
server.use("/", express.static(path.join(__dirname, "public")));
server.use("/static", express.static(path.join(__dirname, "static")));
// Ouverture de la popin de confirmation de connexion
// depuis l'URL /connection/:token
// recue via le mail contenant le magic-link
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment