Added trailing slashes for cuter urls
This commit is contained in:
parent
ea1dad5697
commit
56018a12af
|
@ -1,11 +1,11 @@
|
||||||
const url = require('create-url').url;
|
const url = require('create-url').url;
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
url('/login', 'login', 'login'),
|
url('/login/', 'login', 'login'),
|
||||||
url('/logout', 'logout', 'logout'),
|
url('/logout/', 'logout', 'logout'),
|
||||||
url('/login-target', 'loginTarget', 'loginTarget', 'POST'),
|
url('/login-target/', 'loginTarget', 'loginTarget', 'POST'),
|
||||||
url('/signup', 'signup', 'signup'),
|
url('/signup/', 'signup', 'signup'),
|
||||||
url('/signup-target', 'signupTarget', 'signupTarget', 'POST'),
|
url('/signup-target/', 'signupTarget', 'signupTarget', 'POST'),
|
||||||
url('/mail-was-sent', 'mailWasSent', 'mailWasSent'),
|
url('/mail-was-sent/', 'mailWasSent', 'mailWasSent'),
|
||||||
url('/activate/:activationKey', 'activate', 'activate'),
|
url('/activate/:activationKey', 'activate', 'activate'),
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const url = require('create-url').url;
|
const url = require('create-url').url;
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
url('/settings', 'settings', 'settings'),
|
url('/settings/', 'settings', 'settings'),
|
||||||
url('/settingsTarget', 'settingsTarget', 'settingsTarget', 'POST'),
|
url('/settingsTarget/', 'settingsTarget', 'settingsTarget', 'POST'),
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const url = require('create-url').url;
|
const url = require('create-url').url;
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
url('/total', 'total', 'total'),
|
url('/total/', 'total', 'total'),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue