mirror of
https://github.com/voltbonn/diversity.volt.link.git
synced 2024-06-28 08:50:56 +00:00
moved index.js backend
This commit is contained in:
parent
f7b95afb74
commit
1b3fdcbc9c
|
@ -13,8 +13,8 @@ const { fetch } = require('cross-fetch')
|
||||||
|
|
||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
|
|
||||||
const static_files_path = path.join(__dirname, './frontend/')
|
const static_files_path = path.join(__dirname, '../frontend/')
|
||||||
const cache_folder_path = path.join(__dirname, './cache/')
|
const cache_folder_path = path.join(__dirname, '../cache/')
|
||||||
|
|
||||||
const volt_team_root_team_id = process.env.volt_team_root_team_id
|
const volt_team_root_team_id = process.env.volt_team_root_team_id
|
||||||
const volt_team_root_team_name = process.env.volt_team_root_team_name
|
const volt_team_root_team_name = process.env.volt_team_root_team_name
|
||||||
|
@ -24,6 +24,7 @@ if (!fs.existsSync(cache_folder_path)) {
|
||||||
fs.mkdirSync(cache_folder_path)
|
fs.mkdirSync(cache_folder_path)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// volt_team_api_key
|
// volt_team_api_key
|
||||||
|
|
||||||
function checkOrigin(origin){
|
function checkOrigin(origin){
|
Loading…
Reference in a new issue