This commit is contained in:
Daniel García Aubert 2019-10-01 17:54:09 +02:00
parent 1d55de3e43
commit f71c7bc3a8
4 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ module.exports.gc_interval = 10000;
module.exports.routes = {
api: {
paths: [
// In case the base_url has a :user param the username will be the one specified in the URL,
// In case the path has a :user param the username will be the one specified in the URL,
// otherwise it will fallback to extract the username from the host header.
'/api/:version',
'/user/:user/api/:version',

View File

@ -4,7 +4,7 @@ module.exports.gc_interval = 10000;
module.exports.routes = {
api: {
paths: [
// In case the base_url has a :user param the username will be the one specified in the URL,
// In case the path has a :user param the username will be the one specified in the URL,
// otherwise it will fallback to extract the username from the host header.
'/api/:version',
'/user/:user/api/:version',

View File

@ -4,7 +4,7 @@ module.exports.gc_interval = 10000;
module.exports.routes = {
api: {
paths: [
// In case the base_url has a :user param the username will be the one specified in the URL,
// In case the path has a :user param the username will be the one specified in the URL,
// otherwise it will fallback to extract the username from the host header.
'/api/:version',
'/user/:user/api/:version',

View File

@ -4,7 +4,7 @@ module.exports.gc_interval = 10000;
module.exports.routes = {
api: {
paths: [
// In case the base_url has a :user param the username will be the one specified in the URL,
// In case the path has a :user param the username will be the one specified in the URL,
// otherwise it will fallback to extract the username from the host header.
'/api/:version',
'/user/:user/api/:version',