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