Skip to content

Commit

Permalink
Fix missing trailing / in PUBLIC_PATH for UI
Browse files Browse the repository at this point in the history
Missing trialing `/` cause UI to load file from incorrect static dir location.
  • Loading branch information
TheRealHaoLiu committed Aug 17, 2023
1 parent d832e75 commit 3de8455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/ui_next/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ui-next/src/build: $(UI_NEXT_DIR)/src/build/awx
## True target for ui-next/src/build. Build ui_next from source.
$(UI_NEXT_DIR)/src/build/awx: $(UI_NEXT_DIR)/src $(UI_NEXT_DIR)/src/node_modules/webpack
@echo "=== Building ui_next ==="
@cd $(UI_NEXT_DIR)/src && PRODUCT="$(PRODUCT)" PUBLIC_PATH=/static/awx npm run build:awx
@cd $(UI_NEXT_DIR)/src && PRODUCT="$(PRODUCT)" PUBLIC_PATH=/static/awx/ npm run build:awx
@mv $(UI_NEXT_DIR)/src/build/awx/index.html $(UI_NEXT_DIR)/src/build/awx/index_awx.html

.PHONY: ui-next/src
Expand Down

0 comments on commit 3de8455

Please sign in to comment.