This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
43
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
0b77a8a7
Commit
0b77a8a7
authored
3 years ago
by
Michael Breu
Browse files
Options
Downloads
Patches
Plain Diff
Finally fixing staging Problems
parent
c50abec4
1 merge request
!91
Bringing JHipster7.6.0 to production
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/config/application-staging.yml
+15
-11
15 additions, 11 deletions
src/main/resources/config/application-staging.yml
with
15 additions
and
11 deletions
src/main/resources/config/application-staging.yml
+
15
−
11
View file @
0b77a8a7
...
...
@@ -28,7 +28,7 @@ management:
enabled
:
false
spring
:
profiles
:
#
profiles:
# active: staging
# include:
# - doc-api
...
...
@@ -65,10 +65,10 @@ spring:
# Remove 'faker' if you do not want the sample data to be loaded automatically
contexts
:
dev
mail
:
host
:
localhos
t
host
:
smtp.uibk.ac.a
t
port
:
25
username
:
password
:
username
:
${MAIL_USERNAME}
password
:
${MAIL_PASSWORD}
messages
:
cache-duration
:
PT1S
# 1 second, see the ISO 8601 standard
thymeleaf
:
...
...
@@ -87,6 +87,10 @@ spring:
server
:
port
:
8080
compression
:
enabled
:
true
mime-types
:
text/html,text/xml,text/plain,text/css, application/javascript, application/json
min-response-size
:
1024
# ===================================================================
# JHipster specific properties
...
...
@@ -98,15 +102,15 @@ jhipster:
cache
:
# Cache configuration
ehcache
:
# Ehcache configuration
time-to-live-seconds
:
3600
# By default objects stay 1 hour in the cache
max-entries
:
100
# Number of objects in each cache entry
max-entries
:
100
0
# Number of objects in each cache entry
# CORS is only enabled by default with the "dev" profile
cors
:
#
cors:
# Allow Ionic for JHipster by default (* no longer allowed in Spring Boot 2.4+)
allowed-origins
:
'
http://localhost:8100,https://localhost:8100,http://localhost:9000,https://localhost:9000,http://localhost:4200,https://localhost:4200'
allowed-methods
:
'
*'
allowed-headers
:
'
*'
exposed-headers
:
'
Authorization,Link,X-Total-Count,X-${jhipster.clientApp.name}-alert,X-${jhipster.clientApp.name}-error,X-${jhipster.clientApp.name}-params'
allow-credentials
:
true
#
allowed-origins: 'http://localhost:8100,https://localhost:8100,http://localhost:9000,https://localhost:9000,http://localhost:4200,https://localhost:4200'
#
allowed-methods: '*'
#
allowed-headers: '*'
#
exposed-headers: 'Authorization,Link,X-Total-Count,X-${jhipster.clientApp.name}-alert,X-${jhipster.clientApp.name}-error,X-${jhipster.clientApp.name}-params'
#
allow-credentials: true
max-age
:
1800
security
:
oauth2
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment