Use camelCase

This commit is contained in:
syuilo 2019-02-24 12:53:22 +09:00
parent b8e0ec9edc
commit 9b79a411e0
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
16 changed files with 34 additions and 42 deletions

View file

@ -79,13 +79,13 @@ router.get('/*/*', async ctx => {
showdown.extension('wsUrlExtension', () => ({
type: 'output',
regex: /%WS_URL%/g,
replace: config.ws_url
replace: config.wsUrl
}));
showdown.extension('apiUrlExtension', () => ({
type: 'output',
regex: /%API_URL%/g,
replace: config.api_url
replace: config.apiUrl
}));
const conv = new showdown.Converter({