Skip to content

Commit

Permalink
Merge pull request #27 from keeps/cafonso-dev
Browse files Browse the repository at this point in the history
Added ui cors configuration
  • Loading branch information
006627 authored Oct 16, 2024
2 parents db51033 + 6bf30a1 commit 4ff26f1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions deploys/development/dbptke/config/dbvtk-viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,21 @@ lists.activityLogEntry.facets.parameters.state.sort=COUNT
# Header
##############################################
ui.header.title=<img src="api/v1/theme?resource_id=dbptk_logo_white_vector.svg" class="header-logo"><span class="header-text">DBPTK Enterprise</span>

##########################################################################
# CORS settings
#
# 'ui.cors.origin' is also used as a value and control property:
# - missing/commented out: CORS is disabled
# - equal to '*': the value sent will match the request's Origin header
# - other: the value matching the request's Origin header is sent, otherwise
#
# More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
##########################################################################
#ui.cors.allowOrigin = *
ui.cors.allowOrigin = http://localhost:8081
#ui.cors.allowOrigin = http://two.example.com
ui.cors.allowCredentials = true
ui.cors.allowMethods = GET, POST, PUT, DELETE, OPTIONS, HEAD
ui.cors.allowHeaders = Origin, Content-type, Accept
#ui.cors.exposeHeaders = Origin, Content-type, Accept

0 comments on commit 4ff26f1

Please sign in to comment.