edgedb-ui
edgedb-ui copied to clipboard
Copy to clipboard not working when accessed through IP
EdgeDB Server: 2.2+dba8da8, 2.1+c600476 Browser: Chrome 105.0.5195.102, Firefox 104.0.2
-
Start an EdgeDB instance (listen on 0.0.0.0, use Docker for simplicity):
docker run --rm -p 5656:5656 -e EDGEDB_SERVER_SECURITY=insecure_dev_mode -e EDGEDB_SERVER_PASSWORD=123456 -e EDGEDB_SERVER_ADMIN_UI=enabled edgedb/edgedb:2.2 -
Access the UI through non-localhost IP, e.g. http://192.168.2.22/ui
-
The "Copy" and "Copy as JSON" button in REPL doesn't work, no error in console.
Looks like a browser security issue, so it may also affect other functions.
Initially reported by @xyplayman in https://gitee.com/edgedb/devrel/issues/I5R6WD
https://discord.com/channels/841451783728529451/1157617069920096287