Skip to content

Commit

Permalink
Fix output path for Admin Portal build.
Browse files Browse the repository at this point in the history
  • Loading branch information
manstis committed Jun 27, 2024
1 parent 6f5e6c7 commit 7f7dac6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ansible_wisdom_console_react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Open [http://localhost:8888/static/console/denied.html](http://localhost:8888/st

### `npm run build`

Builds the app for production to the `ansible_wisdom/main/static/console` folder.\
Builds the app for production to the `ansible_ai_connect/main/static/console` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

## Running the "Admin Portal" with Django locally
Expand Down
2 changes: 1 addition & 1 deletion ansible_wisdom_console_react/config/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const publicUrlOrPath = getPublicUrlOrPath(
);

const buildPath =
process.env.BUILD_PATH || "../ansible_wisdom/main/static/console";
process.env.BUILD_PATH || "../ansible_ai_connect/main/static/console";

const moduleFileExtensions = [
"web.mjs",
Expand Down
20 changes: 10 additions & 10 deletions ansible_wisdom_console_react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7f7dac6

Please sign in to comment.