Skip to content

Commit 44315f3

Browse files
committed
feat: default resotre host
1 parent 3d9d25e commit 44315f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/caddy/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export class CaddyInstant {
155155
async run(source: string, target: string, options?: Partial<RunOptions>) {
156156
source = source.replace('0.0.0.0', '127.0.0.1').replace('localhost', '127.0.0.1')
157157
const {
158-
restore = false,
158+
restore = true,
159159
base = '/',
160160
} = options || {}
161161

0 commit comments

Comments
 (0)