mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 22:14:47 +08:00
1801e3d64c
It was originally named bootstrap-json because it contacted a 'bootstrap' API in rails to generate the ember-cli html response. However, it has since been overhauled to remove that 'bootstrap' system. Now it is a much simpler proxy server which transforms the HTML sent by Rails.
33 lines
697 B
JSON
33 lines
697 B
JSON
{
|
|
"name": "custom-proxy",
|
|
"version": "1.0.0",
|
|
"description": "Express.js middleware which injects ember-cli asset URLs into Discourse's HTML",
|
|
"author": "Discourse",
|
|
"license": "GPL-2.0-only",
|
|
"keywords": [
|
|
"ember-addon"
|
|
],
|
|
"ember-addon": {
|
|
"before": [
|
|
"broccoli-serve-files",
|
|
"proxy-server-middleware"
|
|
],
|
|
"after": [
|
|
"broccoli-watcher"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"clean-base-url": "^1.0.0",
|
|
"express": "^4.19.2",
|
|
"glob": "^10.3.12",
|
|
"html-entities": "^2.5.2",
|
|
"html-rewriter-wasm": "^0.4.1",
|
|
"node-fetch": "^3.3.2"
|
|
},
|
|
"engines": {
|
|
"node": ">= 18",
|
|
"npm": "please-use-yarn",
|
|
"yarn": ">= 1.21.1"
|
|
}
|
|
}
|