Move apiDirectory to it’s own file

This commit is contained in:
Sam Carlton 2022-05-19 13:48:45 -05:00
parent 2dbf9e3d26
commit 602a78a48a
2 changed files with 4 additions and 1 deletions

View file

@ -30,6 +30,9 @@ import {
import {
PaginatedList
} from '~/helpers/api/pagination.js'
import {
apiDirectory
} from '~/helpers/api/config.js'
import {
cliOptions
@ -38,7 +41,6 @@ import {
// Setup dotenv
dotenv.config()
export const apiDirectory = './static/api'
function normalizeVersion ( rawVersion ) {

1
helpers/api/config.js Normal file
View file

@ -0,0 +1 @@
export const apiDirectory = './static/api'