Skip to content

feature - basePath attribute to allow changing the source of the flags#88

Open
Trisky wants to merge 3 commits intoYummygum:mainfrom
Trisky:feature/basepath
Open

feature - basePath attribute to allow changing the source of the flags#88
Trisky wants to merge 3 commits intoYummygum:mainfrom
Trisky:feature/basepath

Conversation

@Trisky
Copy link

@Trisky Trisky commented Sep 8, 2025

We need this feature when not running the project in the root of the domain.

Use case:
So for example if your application is running on http://example.com/myreactapplication and therefore the /flags/m/AR.svg file would be accesible only via http://example.com/myreactapplication/flags/m/AR.svg

Check readme changes as well.

Based on #86

I've

  1. Fixed a syntax error
  2. Added dist changes
  3. Documented feature in the Readme

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.

1 participant