mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: Update routing for workspace schedule (#2113)
* fix: Update routing for workspace schedule This was broken as part of #2101. It was a silly mistake, but unfortunate our tests didn't catch it. This is a rare change so unlikely to occur again, so I won't make an issue adding tests. * Update site/src/pages/WorkspaceSchedulePage/WorkspaceSchedulePage.tsx Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com> Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>
This commit is contained in:
co-authored by
Presley Pizzo
parent
a4e259e14b
commit
7e8692b0fd
+1
-1
@@ -63,7 +63,7 @@ const config: Configuration = {
|
||||
port: process.env.PORT || 8080,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "https://dev.coder.com",
|
||||
target: process.env.CODER_HOST || "http://localhost:3000",
|
||||
ws: true,
|
||||
secure: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user