mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 11:46:23 +00:00
fix(apidoc): change path in middleware and lintignore
This commit is contained in:
parent
8d400c3b8a
commit
60f251a8c7
2 changed files with 3 additions and 3 deletions
|
|
@ -8,10 +8,10 @@ website/client/
|
||||||
website/common/transpiled-babel/
|
website/common/transpiled-babel/
|
||||||
dist/
|
dist/
|
||||||
dist-client/
|
dist-client/
|
||||||
apidoc_build/
|
apidoc/html/
|
||||||
content_cache/
|
content_cache/
|
||||||
i18n_cache/
|
i18n_cache/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
||||||
# Old migrations, disabled
|
# Old migrations, disabled
|
||||||
migrations/archive/*
|
migrations/archive/*
|
||||||
|
|
|
||||||
|
|
@ -36,5 +36,5 @@ export default function staticMiddleware (expressApp) {
|
||||||
expressApp.use('/storybook', express.static(`${BASE_DIR}/website/client/dist/storybook`));
|
expressApp.use('/storybook', express.static(`${BASE_DIR}/website/client/dist/storybook`));
|
||||||
|
|
||||||
/* APIdoc files, not cached yet. */
|
/* APIdoc files, not cached yet. */
|
||||||
expressApp.use('/apidoc', express.static(`${BASE_DIR}/apidoc_build`));
|
expressApp.use('/apidoc', express.static(`${BASE_DIR}/apidoc/html`));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue