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;
|
||||
|
||||
module.exports = [
|
||||
url('/login', 'login', 'login'),
|
||||
url('/logout', 'logout', 'logout'),
|
||||
url('/login-target', 'loginTarget', 'loginTarget', 'POST'),
|
||||
url('/signup', 'signup', 'signup'),
|
||||
url('/signup-target', 'signupTarget', 'signupTarget', 'POST'),
|
||||
url('/mail-was-sent', 'mailWasSent', 'mailWasSent'),
|
||||
url('/login/', 'login', 'login'),
|
||||
url('/logout/', 'logout', 'logout'),
|
||||
url('/login-target/', 'loginTarget', 'loginTarget', 'POST'),
|
||||
url('/signup/', 'signup', 'signup'),
|
||||
url('/signup-target/', 'signupTarget', 'signupTarget', 'POST'),
|
||||
url('/mail-was-sent/', 'mailWasSent', 'mailWasSent'),
|
||||
url('/activate/:activationKey', 'activate', 'activate'),
|
||||
]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const url = require('create-url').url;
|
||||
|
||||
module.exports = [
|
||||
url('/settings', 'settings', 'settings'),
|
||||
url('/settingsTarget', 'settingsTarget', 'settingsTarget', 'POST'),
|
||||
url('/settings/', 'settings', 'settings'),
|
||||
url('/settingsTarget/', 'settingsTarget', 'settingsTarget', 'POST'),
|
||||
]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const url = require('create-url').url;
|
||||
|
||||
module.exports = [
|
||||
url('/total', 'total', 'total'),
|
||||
url('/total/', 'total', 'total'),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue