Skip to content

Commit

Permalink
fix:Port modification in the configuration file does not take effect …
Browse files Browse the repository at this point in the history
…in windows.(#11399) (#11524)
  • Loading branch information
DiligenceLai committed Dec 19, 2023
1 parent 736327b commit 23fa1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/bin/startup.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ set "NACOS_OPTS=%NACOS_OPTS% -Dnacos.home=%BASE_DIR%"
set "NACOS_OPTS=%NACOS_OPTS% -jar %BASE_DIR%\target\%SERVER%.jar"

rem set nacos spring config location
set "NACOS_CONFIG_OPTS=--spring.config.additional-location=optional:%CUSTOM_SEARCH_LOCATIONS%"
set "NACOS_CONFIG_OPTS=--spring.config.additional-location=%CUSTOM_SEARCH_LOCATIONS%"

rem set nacos log4j file location
set "NACOS_LOG4J_OPTS=--logging.config=%BASE_DIR%/conf/nacos-logback.xml"
Expand Down

0 comments on commit 23fa1c1

Please sign in to comment.