You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and node.js server will replace {{STATIC_PATH}} placeholder to oss url when render, and I override __webpack_public_path__ to ensure dynamic files path is correct.
After deploy, the page's resource is ok, but the search json file's request url is like http://mysite.com/{{STATIC_PATH}}/static/search_index.json, not prefix with __webpack_public_path__.
What does the proposed API look like?
Maybe the __webpack_public_path__ prefix or assetPrefix prefix to search index url could be config?
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
My site static files is deploy to oss, and html files is render from a node.js server, so my config is like:
and node.js server will replace
{{STATIC_PATH}}
placeholder to oss url when render, and I override__webpack_public_path__
to ensure dynamic files path is correct.After deploy, the page's resource is ok, but the search json file's request url is like
http://mysite.com/{{STATIC_PATH}}/static/search_index.json
, not prefix with__webpack_public_path__
.What does the proposed API look like?
Maybe the
__webpack_public_path__
prefix orassetPrefix
prefix to search index url could be config?The text was updated successfully, but these errors were encountered: