Merge branch 'bugfix/allow-path-outputs-to-be-outside-of-fooocus-root'

This commit is contained in:
Manuel Schmid 2024-02-25 11:07:25 +01:00
commit 490f1a93d0
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ Sadly the creator of Fooocus has gone dark multiple times for an extended amount
* ✨ https://github.com/lllyasviel/Fooocus/pull/1940 - meta data handling, schemes: Fooocus (json) and A1111 (plain text). Compatible with Civitai.
* ✨ ~~https://github.com/lllyasviel/Fooocus/pull/1979 - prevent outdated history log link after midnight~~
* ✨ https://github.com/lllyasviel/Fooocus/pull/2032 - add inpaint mask generation functionality using rembg, incl. segmentation support
* 🐛 https://github.com/lllyasviel/Fooocus/pull/2332 - allow path_outputs to be outside of root dir
✨ = new feature<br>
🐛 = bugfix<br>

View File

@ -800,5 +800,6 @@ shared.gradio_root.launch(
server_port=args_manager.args.port,
share=args_manager.args.share,
auth=check_auth if (args_manager.args.share or args_manager.args.listen) and auth_enabled else None,
allowed_paths=[modules.config.path_outputs],
blocked_paths=[constants.AUTH_FILENAME]
)