mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Move apiDirectory to it’s own file
This commit is contained in:
parent
2dbf9e3d26
commit
602a78a48a
2 changed files with 4 additions and 1 deletions
|
|
@ -30,6 +30,9 @@ import {
|
||||||
import {
|
import {
|
||||||
PaginatedList
|
PaginatedList
|
||||||
} from '~/helpers/api/pagination.js'
|
} from '~/helpers/api/pagination.js'
|
||||||
|
import {
|
||||||
|
apiDirectory
|
||||||
|
} from '~/helpers/api/config.js'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
cliOptions
|
cliOptions
|
||||||
|
|
@ -38,7 +41,6 @@ import {
|
||||||
// Setup dotenv
|
// Setup dotenv
|
||||||
dotenv.config()
|
dotenv.config()
|
||||||
|
|
||||||
export const apiDirectory = './static/api'
|
|
||||||
|
|
||||||
|
|
||||||
function normalizeVersion ( rawVersion ) {
|
function normalizeVersion ( rawVersion ) {
|
||||||
|
|
|
||||||
1
helpers/api/config.js
Normal file
1
helpers/api/config.js
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
export const apiDirectory = './static/api'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue