2 changed files with 8 additions and 10 deletions
@ -1,11 +1,11 @@ |
|||
http: |
|||
ListenAddr: ':8080' |
|||
BaseURL: 'http://localhost:3000' |
|||
ListenAddr: ':8080' # Consists of 'IP:Port', e.g. ':8080' listens on any IP and on Port 8080 |
|||
BaseURL: 'http://localhost:3000' # Origin URL, required for the authentication via OAuth |
|||
General: |
|||
DBPath: main.db |
|||
EnableDebugMode: true |
|||
ShortedIDLength: 4 |
|||
DataDir: ./data # Contains: the database and the private key |
|||
EnableDebugMode: true # Activates more detailed logging |
|||
ShortedIDLength: 4 # Length of the random generated ID which is used for new shortened URLs |
|||
oAuth: |
|||
Google: |
|||
ClientID: replace me |
|||
ClientSecret: replace me |
|||
ClientID: replace me # ClientID which you get from console.cloud.google.com |
|||
ClientSecret: replace me # ClientSecret which get from console.cloud.google.com |
|||
|
|||
Loading…
Reference in new issue