Skip to content

AI-657 : Fix localhost CORS bug#16

Merged
RohanSreelesh merged 1 commit intodevfrom
rohan/ai-657/fix-localhost-webui
Apr 10, 2025
Merged

AI-657 : Fix localhost CORS bug#16
RohanSreelesh merged 1 commit intodevfrom
rohan/ai-657/fix-localhost-webui

Conversation

@RohanSreelesh
Copy link
Collaborator

Fixes the CORS issue by adding both localhost and 127.0.0.1 to the CORS list, this should allow the user to access the web ui from localhost or 127.0.0.1

@sonarqube-solacecloud
Copy link

Copy link
Collaborator

@gregmeldrum gregmeldrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@RohanSreelesh RohanSreelesh merged commit d7cfc00 into dev Apr 10, 2025
7 checks passed
@RohanSreelesh RohanSreelesh deleted the rohan/ai-657/fix-localhost-webui branch April 10, 2025 21:18
gregmeldrum added a commit that referenced this pull request Apr 16, 2025
* Update the use effect for darkmode in authcallback

* Update readme

* Update ci to run on dev branch

* chore: update built files

* Fix token refresh issue (#4)

* AI-542 and AI-595: HTML/Mermaid rendering + new preview panel + new status message display (#7)

* Responsive file panel

* Make it more responsive

* Working html rendering

* Working mermaid rendering

* Add a run button to directly render supported content

* html + mermaid rendering

* Update rendering components

* Fix scroll arrow positioning relative to preview

* standardize imports

* Cleanup

* Cleanup + close preview panel on new session

* Improve file handling

* chore: update built files

* AI-628: Add UTF-8 support in rendering (#8)

* Add helper for decoding base 64 content

* Revert file row changes

* chore: update built files

* chore: Revert static files for release (#10)

* Release 0.1.1 (#5)

* Update the use effect for darkmode in authcallback

* Update readme

* Update ci to run on dev branch

* chore: update built files

* Fix token refresh issue (#4)

---------

* [ci skip] Bump version to 0.1.1

* Revert all static files to main for release

---------

Co-authored-by: GitHub Action <action@github.com>

* Fix base64 rendering (#11)

* Fix raw base 64 rendering

* Address sonarqube changes

* chore: update built files

* Update logo to new SAM logo (#13)

* Update logo

* Revert static files for release

* Fix conflicts for release (#15)

* Release 0.1.1 (#5)

* Update the use effect for darkmode in authcallback

* Update readme

* Update ci to run on dev branch

* chore: update built files

* Fix token refresh issue (#4)

---------

* [ci skip] Bump version to 0.1.1

* Release 0.2.0 (#9)

* Update the use effect for darkmode in authcallback

* Update readme

* Update ci to run on dev branch

* chore: update built files

* Fix token refresh issue (#4)

* AI-542 and AI-595: HTML/Mermaid rendering + new preview panel + new status message display (#7)

* Responsive file panel

* Make it more responsive

* Working html rendering

* Working mermaid rendering

* Add a run button to directly render supported content

* html + mermaid rendering

* Update rendering components

* Fix scroll arrow positioning relative to preview

* standardize imports

* Cleanup

* Cleanup + close preview panel on new session

* Improve file handling

* chore: update built files

* AI-628: Add UTF-8 support in rendering (#8)

* Add helper for decoding base 64 content

* Revert file row changes

* chore: update built files

* chore: Revert static files for release (#10)

* Release 0.1.1 (#5)

* Update the use effect for darkmode in authcallback

* Update readme

* Update ci to run on dev branch

* chore: update built files

* Fix token refresh issue (#4)

---------

* [ci skip] Bump version to 0.1.1

* Revert all static files to main for release

---------

Co-authored-by: GitHub Action <action@github.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>

* chore: update built files

* [ci skip] Bump version to 0.2.0

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore(DATAGO-98386): set min python version to 3.10.16  (#6)

* chore(DATAGO-96612): set min python version to 3.11

* Add static files to gitignore

* Use custom build scripts for static assets

* remove package-lock from .gitignore

* include lock file

* use updated reusable workflow

* use main

* use 3.10.16 as min version

* bump max version

* Fix localhost cors bug (#16)

---------

Co-authored-by: RohanSreelesh <Rohansreelesh02@gmail.com>
Co-authored-by: Rohan <31416057+RohanSreelesh@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Art Morozov <art.morozov@solace.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants