Added trailing slashes for cuter urls

This commit is contained in:
Thomas Forgione 2017-09-23 23:29:08 +00:00
parent ea1dad5697
commit 56018a12af
No known key found for this signature in database
GPG Key ID: 95D964F74A96119E
3 changed files with 9 additions and 9 deletions

View File

@ -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'),
]

View File

@ -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'),
]

View File

@ -1,5 +1,5 @@
const url = require('create-url').url;
module.exports = [
url('/total', 'total', 'total'),
url('/total/', 'total', 'total'),
]