mirror of
https://github.com/voltbonn/diversity.volt.link.git
synced 2024-09-28 12:53:06 +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 static_files_path = path.join(__dirname, './frontend/')
|
||||
const cache_folder_path = path.join(__dirname, './cache/')
|
||||
const static_files_path = path.join(__dirname, '../frontend/')
|
||||
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_name = process.env.volt_team_root_team_name
|
||||
|
@ -24,6 +24,7 @@ if (!fs.existsSync(cache_folder_path)) {
|
|||
fs.mkdirSync(cache_folder_path)
|
||||
}
|
||||
|
||||
|
||||
// volt_team_api_key
|
||||
|
||||
function checkOrigin(origin){
|
Loading…
Reference in a new issue