diff options
author | Pjotr Prins | 2021-10-22 10:49:34 +0200 |
---|---|---|
committer | Pjotr Prins | 2021-10-22 10:49:47 +0200 |
commit | 220e8be0a430712771a5f26b5aae72a505094383 (patch) | |
tree | 28be1172a998869ebd644553e43c2fad53677344 | |
parent | 320045ecf3d436d1177cb854190984a5d19a2444 (diff) | |
download | gn-gemtext-220e8be0a430712771a5f26b5aae72a505094383.tar.gz |
Proxy should not be hard coded
-rw-r--r-- | issues/genenetwork/proxy-hard-coded.gmi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/issues/genenetwork/proxy-hard-coded.gmi b/issues/genenetwork/proxy-hard-coded.gmi new file mode 100644 index 0000000..ab4c974 --- /dev/null +++ b/issues/genenetwork/proxy-hard-coded.gmi @@ -0,0 +1,27 @@ +# Proxy has hard coded URLs + +These should be handled in a settings file. Also for GN3. How about introducing +a shared JSON file? + + +``` +gn2@tux02:~/production/gene$ rg 8080 --type py +wqflask/wqflask/decorators.py +28: requests.get("http://localhost:8080/" + +wqflask/base/trait.py +364: the_url = "http://localhost:8080/run-action?resource={}&user={}&branch=data&action=view".format( +367: the_url = "http://localhost:8080/run-action?resource={}&user={}&branch=data&action=view&trait={}".format( + +wqflask/wqflask/marker_regression/display_mapping_results.py +80: "#000000", "#800000", "#008000", "#000080", "#808000", "#800080", +81: "#008080", "#808080", "#C00000", "#00C000", "#0000C0", "#C0C000", + +wqflask/utility/authentication_tools.py +39: the_url = "http://localhost:8080/available?resource={}&user={}".format( +96: the_url = "http://localhost:8080/available?resource={}&user={}".format( +``` + +# Tags + +* assigned: bonfacem, pjotrp, zachs |