diff --git a/dfx/index.ts b/dfx/index.ts index 567b98c1fb..08aa3bb691 100644 --- a/dfx/index.ts +++ b/dfx/index.ts @@ -19,7 +19,7 @@ export function getWebServerPort(): string { export function getCanisterOrigin(canisterName: string): string { return `http://${getCanisterId( canisterName - )}.localhost:${getWebServerPort()}`; + )}.raw.localhost:${getWebServerPort()}`; } export function getAgentHost(): string {