Skip to content
Snippets Groups Projects
Commit a2537a1d authored by Wilson JALLET's avatar Wilson JALLET :money_with_wings:
Browse files

renamed admin_view dir to routing

parent 7061acb1
No related branches found
No related tags found
No related merge requests found
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
*/ */
import server from './server'; import server from './server';
import colors from 'colors'; import colors from 'colors';
import router from './admin_view/admin_router'; import router from './routing/admin_router';
import passport from 'passport'; import passport from 'passport';
// setting up l'interface admin des BDD // setting up l'interface admin des BDD
server.use('/adminview',router); // catches and resolves HTTP requests to paths '/adminview/*' server.use('/',router); // catches and resolves HTTP requests to paths '/adminview/*'
// gere les requetes de login du front // gere les requetes de login du front
server.post('/login', server.post('/login',
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment