mirror of https://github.com/vladmandic/automatic
merge: modules/ui_extra_networks.py
parent
7c87bb2d1e
commit
6f13f6131e
|
|
@ -120,9 +120,9 @@ def init_api():
|
||||||
|
|
||||||
shared.api.add_api_route("/sdapi/v1/network", get_network, methods=["GET"])
|
shared.api.add_api_route("/sdapi/v1/network", get_network, methods=["GET"])
|
||||||
shared.api.add_api_route("/sdapi/v1/network/thumb", fetch_file, methods=["GET"], auth=False)
|
shared.api.add_api_route("/sdapi/v1/network/thumb", fetch_file, methods=["GET"], auth=False)
|
||||||
shared.api.add_api_route("/sdapi/v1/network/metadata", get_metadata, methods=["GET"], auth=False)
|
shared.api.add_api_route("/sdapi/v1/network/metadata", get_metadata, methods=["GET"])
|
||||||
shared.api.add_api_route("/sdapi/v1/network/info", get_info, methods=["GET"], auth=False)
|
shared.api.add_api_route("/sdapi/v1/network/info", get_info, methods=["GET"])
|
||||||
shared.api.add_api_route("/sdapi/v1/network/desc", get_desc, methods=["GET"], auth=False)
|
shared.api.add_api_route("/sdapi/v1/network/desc", get_desc, methods=["GET"])
|
||||||
|
|
||||||
|
|
||||||
class DateTimeEncoder(json.JSONEncoder):
|
class DateTimeEncoder(json.JSONEncoder):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue