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

Enable more config options to link client code #897

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

ZakarFin
Copy link
Member

@ZakarFin ZakarFin commented Nov 2, 2022

Adds more configuration options:

  • Enable browser to request specific version of frontend with URL-parameter v=[version]. This is disabled by default but can be enabled in oskari-ext.properties:
# Enables client to request specific version of frontend - defaults to false
oskari.client.version.request=true
  • Allow frontend code to be linked from another domain:
# For example "https://cdn.domain.com" if frontend files are served from another domain than the server - defaults to same domain
oskari.client.domain=

Customized/application specific JSP-files can use ${clientDomain} to enable the domain config. See the JSP changes here for details on how to use it.

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