Skip to content

Commit

Permalink
Fixed version in pom.xml and METHOD value in CORSFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
MechanicKim committed Jun 24, 2017
1 parent 04848d1 commit b337a1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.openkoreantext</groupId>
<artifactId>org.openkoreantext.api</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.0.1</version>
<name>open-korean-text-api</name>
<description>Open korean text api service</description>
<dependencies>
Expand Down Expand Up @@ -74,7 +74,7 @@
<jdkVersion>1.8</jdkVersion>
<appName>open-korean-text</appName>
<processTypes>
<web>java -jar ./target/org.openkoreantext.api-0.0.1-SNAPSHOT-jar-with-dependencies.jar</web>
<web>java -jar ./target/org.openkoreantext.api-0.0.1-jar-with-dependencies.jar</web>
</processTypes>
</configuration>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openkoreantext/api/util/CORSFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public class CORSFilter {

static final String ORIGIN = "*";
static final String METHOD = "GET";
static final String METHOD = "GET, POST";
static final String HEADERS = "Content-Type,Authorization,X-Requested-With,Content-Length,Accept,Origin,";

// Enables CORS on requests. This method is an initialization method and
Expand Down

0 comments on commit b337a1b

Please sign in to comment.