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 c0e8cee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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

0 comments on commit c0e8cee

Please sign in to comment.