mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-01 15:33:26 +00:00
Enable eslint rule quote-props (#1795)
## Description: Enable eslint rule `quote-props` ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced
This commit is contained in:
@@ -69,7 +69,7 @@ export class Cloudflare {
|
||||
const response = await fetch(url, {
|
||||
body: data ? JSON.stringify(data) : undefined,
|
||||
headers: {
|
||||
Authorization: `Bearer ${this.apiToken}`,
|
||||
"Authorization": `Bearer ${this.apiToken}`,
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
method,
|
||||
@@ -184,7 +184,7 @@ export class Cloudflare {
|
||||
|
||||
const tunnelConfig: CloudflaredConfig = {
|
||||
"credentials-file": this.credsPath,
|
||||
ingress: [
|
||||
"ingress": [
|
||||
...Array.from(subdomainToService.entries()).map(
|
||||
([subdomain, service]) => ({
|
||||
hostname: `${subdomain}.${domain}`,
|
||||
@@ -195,7 +195,7 @@ export class Cloudflare {
|
||||
service: "http_status:404",
|
||||
},
|
||||
],
|
||||
tunnel: tunnelId,
|
||||
"tunnel": tunnelId,
|
||||
};
|
||||
|
||||
// Write config file
|
||||
|
||||
Reference in New Issue
Block a user