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:
Asher
2019-03-01 15:51:11 -06:00
committed by Kyle Carberry
parent 06855adaa5
commit c384dfb815
9 changed files with 315 additions and 7 deletions

View File

@ -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: {