mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-28 07:45:40 +08:00
21673
This commit is contained in:
parent
3ac71aaa09
commit
66de571556
5
main.py
5
main.py
@ -158,7 +158,10 @@ if __name__ == "__main__":
|
|||||||
start_frp()
|
start_frp()
|
||||||
# frp_remote_port_idx: 3, 4, 5, 6....
|
# frp_remote_port_idx: 3, 4, 5, 6....
|
||||||
if args.frp_remote_port_idx is not None:
|
if args.frp_remote_port_idx is not None:
|
||||||
notion.add_record_to_notion_database(f"http://111.170.148.226:2166{args.frp_remote_port_idx}/")
|
if args.frp_remote_port_idx == -1:
|
||||||
|
notion.add_record_to_notion_database(f"http://111.170.148.226:21673/")
|
||||||
|
else:
|
||||||
|
notion.add_record_to_notion_database(f"http://111.170.148.226:2166{args.frp_remote_port_idx}/")
|
||||||
else:
|
else:
|
||||||
print("frp_remote_port_idx is None, no records will be added to notion database")
|
print("frp_remote_port_idx is None, no records will be added to notion database")
|
||||||
|
|
||||||
|
|||||||
@ -132,6 +132,8 @@ elif [ "$CHOICE" -eq 5 ]; then
|
|||||||
TARGET_REMOTE_PORT="21665"
|
TARGET_REMOTE_PORT="21665"
|
||||||
elif [ "$CHOICE" -eq 6 ]; then
|
elif [ "$CHOICE" -eq 6 ]; then
|
||||||
TARGET_REMOTE_PORT="21666"
|
TARGET_REMOTE_PORT="21666"
|
||||||
|
elif [ "$CHOICE" -eq -1 ]; then
|
||||||
|
TARGET_REMOTE_PORT="21673"
|
||||||
else
|
else
|
||||||
echo "Invalid CHOICE: $CHOICE"
|
echo "Invalid CHOICE: $CHOICE"
|
||||||
echo "Only 1 or 2 are supported."
|
echo "Only 1 or 2 are supported."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user