Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix output path for Admin Portal build. #1160

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading