Skip to content

Commit

Permalink
Merge 20d7f90 into aa513c1
Browse files Browse the repository at this point in the history
  • Loading branch information
Pchelolo committed Jul 25, 2019
2 parents aa513c1 + 20d7f90 commit 9848c66
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# - sqlite backend
# - parsoid at http://localhost:8142
# - wiki at http://localhost/w/api.php
#
#
# Quick setup:
# - npm install
# If you see errors about sqlite, you might have to `apt-get install
Expand All @@ -19,7 +19,7 @@
services:
- name: restbase
module: hyperswitch
conf:
conf:
port: 7231
salt: secret
default_page_size: 125
Expand Down Expand Up @@ -61,6 +61,9 @@ services:
retry_delay: 250
retry_limit: 10
show_sql: false
storage_groups:
- name: local
domains: /./
mobileapps:
host: https://appservice.wmflabs.org
purged_cache_control: s-maxage=0, max-age=86400
Expand Down
7 changes: 5 additions & 2 deletions projects/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,20 @@ paths:

/{api:sys}:
x-modules:
- path: projects/proxy.yaml
options:
backend_host_template: '{{"/{domain}/sys/legacy"}}'
- spec:
paths:
/table: &sys_table
x-modules:
- path: sys/table.js
options:
conf: '{{options.table}}'
/key_value: &sys_key_value
/legacy/key_value: &sys_key_value
x-modules:
- path: sys/key_value.js
/page_revisions:
/legacy/page_revisions:
x-modules:
- path: sys/page_revisions.js
/post_data:
Expand Down

0 comments on commit 9848c66

Please sign in to comment.