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

Use shorter action route url #83

Open
ZakarFin opened this issue Feb 12, 2025 · 0 comments
Open

Use shorter action route url #83

ZakarFin opened this issue Feb 12, 2025 · 0 comments

Comments

@ZakarFin
Copy link
Member

These both work as server endpoints and do the same thing:

I think we should update the codebase to use the shorter form (check that frontend/server doesn't bake in the action_route= in front of the route to call. The config that oskari-ext.properties have by default is currently this:

# url path to call for ajax requests/action routes
oskari.ajax.url.prefix=/action?

https://github.com/oskariorg/sample-configs/blob/4c6c3a48d879a8264dfa9ad0798aff4f4217e24f/jetty-9/oskari-server/resources/oskari-ext.properties#L48-L49

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

No branches or pull requests

1 participant