fix cloudflare tunnels (#1076)

The Server didn't have correct permissions to create the directory for
the cloudflare config. Have docker do it instead. Also the credentials
file key was incorrect.
This commit is contained in:
evanpelle
2025-06-06 16:13:05 -07:00
committed by GitHub
parent 18c5890333
commit da93fe05ea
6 changed files with 14 additions and 12 deletions
+1
View File
@@ -60,6 +60,7 @@ export interface ServerConfig {
subdomain(): string;
cloudflareAccountId(): string;
cloudflareApiToken(): string;
cloudflareConfigDir(): string;
}
export interface NukeMagnitude {
+3
View File
@@ -78,6 +78,9 @@ export abstract class DefaultServerConfig implements ServerConfig {
cloudflareApiToken(): string {
return process.env.CF_API_TOKEN ?? "";
}
cloudflareConfigDir(): string {
return process.env.CF_CONFIG_DIR ?? "";
}
private publicKey: JWK;
abstract jwtAudience(): string;
jwtIssuer(): string {