mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 11:57:04 +08:00
improvement (UI): fixes + cleanup interface - #11
This commit is contained in:
26
config_server.js
Normal file
26
config_server.js
Normal file
@ -0,0 +1,26 @@
|
||||
// GOOGLE DRIVE
|
||||
// 1) enable the api: https://console.developers.google.com/apis/api/drive.googleapis.com/overview
|
||||
// 2) create credentials: https://console.developers.google.com/apis/credentials/oauthclient
|
||||
|
||||
// DROPBOX
|
||||
// 1) create an third party app: https://www.dropbox.com/developers/apps/create
|
||||
// -> dropbox api -> Full Dropbox -> whatever name you want ->
|
||||
// -> set redirect URI to https://example.com/login ->
|
||||
|
||||
module.exports = {
|
||||
// SERVER CONFIG
|
||||
info: {
|
||||
host: "application_url",
|
||||
usage_stats: true
|
||||
},
|
||||
gdrive: {
|
||||
redirectURI: "application_url/login",
|
||||
clientID: "gdrive_client_id",
|
||||
clientSecret: "gdrive_client_secret"
|
||||
},
|
||||
dropbox: {
|
||||
clientID: "dropbox_client_id",
|
||||
redirectURI: "application_url/login"
|
||||
},
|
||||
secret_key: 'not_so_secret_key'
|
||||
}
|
||||
Reference in New Issue
Block a user