We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31e14d5 commit 6717c61Copy full SHA for 6717c61
src/server/plugins/deploys/netlify.ts
@@ -29,7 +29,7 @@ export default class NetlifyApi extends Model {
29
async request(method: 'GET' | 'PUT' | 'POST', endpoint: string, data?: any) {
30
const endpointUrl = this.apiUrl + endpoint.replace(':site_id', this.siteId)
31
const { setting } = this.db
32
- const proxy = setting.enabledProxy ? {
+ const proxy = setting.enabledProxy === 'proxy' ? {
33
host: setting.proxyPath,
34
port: Number(setting.proxyPort),
35
} : undefined
0 commit comments