Skip to content
Snippets Groups Projects
Commit b5a84bc7 authored by eggle's avatar eggle
Browse files

+crossOrigin

parent 4532a7a0
No related branches found
No related tags found
No related merge requests found
......@@ -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="2543000" />
<workItem from="1603003919848" duration="2853000" />
</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="106" key="CommitChangelistDialog2" timestamp="1603006031020">
<state x="491" y="115" key="CommitChangelistDialog2" timestamp="1603006656077">
<screen x="0" y="0" width="1920" height="1080" />
</state>
<state x="517" y="106" key="CommitChangelistDialog2/0.0.1920.1080@0.0.1920.1080" timestamp="1603006031020" />
<state x="491" y="115" key="CommitChangelistDialog2/0.0.1920.1080@0.0.1920.1080" timestamp="1603006656077" />
<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="1603006033770">
<state x="552" y="272" key="Vcs.Push.Dialog.v2" timestamp="1603006659036">
<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="1603006033770" />
<state x="552" y="272" key="Vcs.Push.Dialog.v2/0.0.1920.1080@0.0.1920.1080" timestamp="1603006659036" />
<state x="334" y="200" key="new project wizard" timestamp="1601123070008">
<screen x="0" y="0" width="1920" height="1080" />
</state>
......
<?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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment