添加cors说明

This commit is contained in:
xunbu
2025-11-25 11:12:59 +08:00
parent 87de37e47a
commit 1ed0f0c849
3 changed files with 10 additions and 0 deletions

View File

@@ -147,6 +147,9 @@ docutranslate -i
# Start on a specific port
docutranslate -i -p 8011
# Allow Cross-Origin Requests
docutranslate -i --cors
# You can also specify the port via an environment variable
export DOCUTRANSLATE_PORT=8011
docutranslate -i