|
|
|
@ -1,5 +1,5 @@ |
|
|
|
//import { Auth } from "./auth.js"
|
|
|
|
//import { Frontend } from "./frontend.js"
|
|
|
|
import { Auth } from "./auth.js" |
|
|
|
import { Frontend } from "./frontend.js" |
|
|
|
|
|
|
|
export class Server { |
|
|
|
async getEnv(variables) { |
|
|
|
@ -47,9 +47,11 @@ export class Server { |
|
|
|
await this.configure() |
|
|
|
} |
|
|
|
this.auth = new Auth({ |
|
|
|
baseUrl: this.baseUrl, |
|
|
|
remoteBaseUrl: this.remoteBaseUrl, |
|
|
|
clientId: this.giteaClientId, |
|
|
|
clientSecret: this.giteaClientSecret, |
|
|
|
giteaAppBaseUrl: this.giteaAppBaseUrl, |
|
|
|
giteaClientId: this.giteaClientId, |
|
|
|
giteaClientSecret: this.giteaClientSecret, |
|
|
|
}) |
|
|
|
this.frontend = new Frontend({ |
|
|
|
appBaseUrl: this.giteaAppBaseUrl, |
|
|
|
|