Skip to content

Commit 5ae17f7

Browse files
committed
Fix environment URL formatting
- Update Environment() to use steering-wheel-documentation-65b2-.encr.app - Ensure generated URLs place environment name as suffix to app ID
1 parent 8092ebb commit 5ae17f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const Local: BaseURL = "http://localhost:4000"
1717
* Environment returns a BaseURL for calling the cloud environment with the given name.
1818
*/
1919
export function Environment(name: string): BaseURL {
20-
return `https://${name}-steering-wheel-documentation-65b2.encr.app`
20+
return `https://steering-wheel-documentation-65b2-${name}.encr.app`
2121
}
2222

2323
/**

0 commit comments

Comments
 (0)