Jelajahi Sumber

修改端口

zhangbiao 4 tahun lalu
induk
melakukan
a85ac71d9a
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      src/main/resources/application.properties

+ 2 - 1
src/main/resources/application.properties

@@ -1,3 +1,4 @@
+server.port=7000
 spring.data.mongodb.host=localhost
 spring.data.mongodb.database=jtxt-dev
 spring.data.mongodb.port=27017
@@ -8,4 +9,4 @@ app.jwt.secret=SomethingSecureEnough
 #1 day
 app.jwt.expiration-in-ms=86400000
 app.jwt.token.prefix=China
-app.jwt.header.string=Authorization
+app.jwt.header.string=Authorization