Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SEplus
Backend
Commits
b5a84bc7
Commit
b5a84bc7
authored
4 years ago
by
eggle
Browse files
Options
Downloads
Patches
Plain Diff
+crossOrigin
parent
4532a7a0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
oasis/.idea/workspace.xml
+16
-10
16 additions, 10 deletions
oasis/.idea/workspace.xml
oasis/WEB-INF/web.xml
+0
-36
0 additions, 36 deletions
oasis/WEB-INF/web.xml
with
16 additions
and
46 deletions
oasis/.idea/workspace.xml
+
16
−
10
View file @
b5a84bc7
...
...
@@ -4,9 +4,7 @@
<option
name=
"autoReloadType"
value=
"SELECTIVE"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"c9e03ecf-7684-4e86-a33c-83cbebb2ebeb"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
</list>
<list
default=
"true"
id=
"c9e03ecf-7684-4e86-a33c-83cbebb2ebeb"
name=
"Default Changelist"
comment=
""
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
...
...
@@ -200,7 +198,7 @@
<workItem
from=
"1602847197455"
duration=
"109000"
/>
<workItem
from=
"1602848069583"
duration=
"703000"
/>
<workItem
from=
"1602849233957"
duration=
"108000"
/>
<workItem
from=
"1603003919848"
duration=
"25
4
3000"
/>
<workItem
from=
"1603003919848"
duration=
"2
8
53000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"+cors"
>
<created>
1603004806109
</created>
...
...
@@ -230,7 +228,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1603006031595
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"5"
/>
<task
id=
"LOCAL-00005"
summary=
"+crossOrigin"
>
<created>
1603006656737
</created>
<option
name=
"number"
value=
"00005"
/>
<option
name=
"presentableId"
value=
"LOCAL-00005"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1603006656737
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"6"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
@@ -238,7 +243,8 @@
</component>
<component
name=
"VcsManagerConfiguration"
>
<MESSAGE
value=
"+cors"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"+cors"
/>
<MESSAGE
value=
"+crossOrigin"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"+crossOrigin"
/>
</component>
<component
name=
"WindowStateProjectService"
>
<state
x=
"414"
y=
"194"
key=
"#com.intellij.execution.impl.EditConfigurationsDialog"
timestamp=
"1601026675936"
>
...
...
@@ -262,10 +268,10 @@
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1080"
/>
</state>
<state
x=
"707"
y=
"446"
key=
"#com.intellij.javaee.module.view.common.J2EE.J2EEDeploymentDescriptorLocationPanel.changeDDPath/0.0.1920.1080@0.0.1920.1080"
timestamp=
"1603004660645"
/>
<state
x=
"
517
"
y=
"1
06
"
key=
"CommitChangelistDialog2"
timestamp=
"1603006
031020
"
>
<state
x=
"
491
"
y=
"1
15
"
key=
"CommitChangelistDialog2"
timestamp=
"1603006
656077
"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1080"
/>
</state>
<state
x=
"
517
"
y=
"1
06
"
key=
"CommitChangelistDialog2/0.0.1920.1080@0.0.1920.1080"
timestamp=
"1603006
031020
"
/>
<state
x=
"
491
"
y=
"1
15
"
key=
"CommitChangelistDialog2/0.0.1920.1080@0.0.1920.1080"
timestamp=
"1603006
656077
"
/>
<state
width=
"1877"
height=
"242"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1602849342351"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1080"
/>
</state>
...
...
@@ -326,10 +332,10 @@
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1080"
/>
</state>
<state
x=
"440"
y=
"114"
key=
"SettingsEditor/0.0.1920.1080@0.0.1920.1080"
timestamp=
"1603004662334"
/>
<state
x=
"552"
y=
"272"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"1603006
033770
"
>
<state
x=
"552"
y=
"272"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"1603006
659036
"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1080"
/>
</state>
<state
x=
"552"
y=
"272"
key=
"Vcs.Push.Dialog.v2/0.0.1920.1080@0.0.1920.1080"
timestamp=
"1603006
033770
"
/>
<state
x=
"552"
y=
"272"
key=
"Vcs.Push.Dialog.v2/0.0.1920.1080@0.0.1920.1080"
timestamp=
"1603006
659036
"
/>
<state
x=
"334"
y=
"200"
key=
"new project wizard"
timestamp=
"1601123070008"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1080"
/>
</state>
...
...
This diff is collapsed.
Click to expand it.
oasis/WEB-INF/web.xml
deleted
100644 → 0
+
0
−
36
View file @
4532a7a0
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns=
"http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version=
"4.0"
>
<!--跨域-->
<!--加入跨域过滤器配置-->
<filter>
<filter-name>
crossDomainFilter
</filter-name>
<filter-class>
com.example.oasisdemo.filter.CrossDomainFilter
</filter-class>
<init-param>
<param-name>
cors.allowOrigin
</param-name>
<param-value>
*
</param-value>
</init-param>
<init-param>
<param-name>
cors.supportedMethods
</param-name>
<param-value>
GET, POST, HEAD, PUT, DELETE
</param-value>
</init-param>
<init-param>
<param-name>
cors.supportedHeaders
</param-name>
<param-value>
Accept, Origin, X-Requested-With, Content-Type, Last-Modified
</param-value>
</init-param>
<init-param>
<param-name>
cors.exposedHeaders
</param-name>
<param-value>
Set-Cookie
</param-value>
</init-param>
<init-param>
<param-name>
cors.supportsCredentials
</param-name>
<param-value>
true
</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>
crossDomainFilter
</filter-name>
<url-pattern>
/*
</url-pattern>
</filter-mapping>
</web-app>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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