cli: put static assets in dist/static

This commit is contained in:
Patrik Oldsberg
2020-07-26 15:04:16 +02:00
parent b83fcfcc26
commit 223759b0d0
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ function inject_config() {
>&2 echo "Runtime app config: $config"
local main_js
if ! main_js="$(grep -l __APP_INJECTED_RUNTIME_CONFIG__ /usr/share/nginx/html/*.chunk.js)"; then
if ! main_js="$(grep -l __APP_INJECTED_RUNTIME_CONFIG__ /usr/share/nginx/html/static/*.js)"; then
echo "Runtime config already written"
return
fi