mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
chore(webpack): allow process.env.PORT (#1071)
This commit is contained in:
@ -58,7 +58,7 @@ const config: Configuration = {
|
|||||||
// properly serving index.html on 404s.
|
// properly serving index.html on 404s.
|
||||||
historyApiFallback: true,
|
historyApiFallback: true,
|
||||||
hot: true,
|
hot: true,
|
||||||
port: 8080,
|
port: process.env.PORT || 8080,
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api": "http://localhost:3000",
|
"/api": "http://localhost:3000",
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user