Skip to content

Commit 8b21274

Browse files
committed
fix unvailable issue on production
1 parent 8cf1932 commit 8b21274

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

pom.xml

+12
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,18 @@
126126

127127
<build>
128128
<plugins>
129+
<plugin>
130+
<groupId>org.springframework.boot</groupId>
131+
<artifactId>spring-boot-maven-plugin</artifactId>
132+
<version>2.6.3</version> <!-- Use the appropriate version -->
133+
<executions>
134+
<execution>
135+
<goals>
136+
<goal>repackage</goal>
137+
</goals>
138+
</execution>
139+
</executions>
140+
</plugin>
129141
<plugin>
130142
<groupId>com.microsoft.azure</groupId>
131143
<artifactId>azure-webapp-maven-plugin</artifactId>

src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
spring.application.name=mychatapi
2-
server.port=80
2+
server.port=8080
33

44
spring.jackson.property-naming-strategy=SNAKE_CASE
55

0 commit comments

Comments
 (0)