Skip to content

Commit 6717c61

Browse files
committed
fix: netlify proxy check
Change-Id: I5e9d5ac3e910c5c816ed8b08a5a924a6f67064f3
1 parent 31e14d5 commit 6717c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/plugins/deploys/netlify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default class NetlifyApi extends Model {
2929
async request(method: 'GET' | 'PUT' | 'POST', endpoint: string, data?: any) {
3030
const endpointUrl = this.apiUrl + endpoint.replace(':site_id', this.siteId)
3131
const { setting } = this.db
32-
const proxy = setting.enabledProxy ? {
32+
const proxy = setting.enabledProxy === 'proxy' ? {
3333
host: setting.proxyPath,
3434
port: Number(setting.proxyPort),
3535
} : undefined

0 commit comments

Comments
 (0)