mirror of
https://github.com/coder/code-server.git
synced 2025-07-31 05:54:15 +08:00
Use Coder marketplace (#44)
* Allow setting marketplace URL * Add zip fill * Comment out CSP for now * Fill zip on client as well Probably will need it for client-side extensions. * Don't use itemUrl (it's undefined) * Remove extension rating * Hide ratings with CSS instead of patching them out * Add hard-coded fallback for service URL * Only use coder-develop for extapi if env is explicitly development * Don't use coder-develop at all for extapi If you need it, you can set SERVICE_URL.
This commit is contained in:
@ -117,6 +117,7 @@ module.exports = (options = {}) => ({
|
||||
new webpack.DefinePlugin({
|
||||
"process.env.NODE_ENV": `"${environment}"`,
|
||||
"process.env.LOG_LEVEL": `"${process.env.LOG_LEVEL || ""}"`,
|
||||
"process.env.SERVICE_URL": `"${process.env.SERVICE_URL || ""}"`,
|
||||
}),
|
||||
],
|
||||
stats: {
|
||||
|
Reference in New Issue
Block a user