Web 项目热加载 #6105
Web 项目热加载
#6105
-
How to configure 'vue. config. js' without setting it Instead, use environment variables or Code Server command parameters to set the URL of the Web Socket? Similar to Github Codespace, there is no need to modify the project itself Or where can I find detailed configuration documents for Code Server? 🥺🥺🥺 thank you 🙏 |
Beta Was this translation helpful? Give feedback.
Answered by
code-asher
Apr 11, 2023
Replies: 1 comment 8 replies
-
This is something that works in Codespaces but not code-server? Could you provide an example or steps to reproduce? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While that explains why we need
allowedHosts
it does not explain why we needwebSocketURL
. I poked at it a little but I still have no idea why it works in Codespaces without extra configuration. For now I think we just have to set it.That leaves us with this config: