Commit fc3777c4 authored by choh's avatar choh
Browse files

Changed default port to https standard (443).

parent 9fe603f2
Pipeline #3261 passed with stages
in 37 minutes
......@@ -9,6 +9,7 @@ Status
[Coverage report](http://gts2.gitext.gfz-potsdam.de/gts2_client/coverage/)
## Release notes
* **2018-11-13:** Changed default port to 443
* **2018-02-20:** Improved output to netCDF file
* **2018-02-16:** Added installation information and installation script for miniconda and all needed packages
* **2018-01-18:** Added docker file and script for building an compatible image and running a container for the client
......
{
"user": "",
"password": "",
"port": 80
"port": 443
}
\ No newline at end of file
......@@ -22,7 +22,7 @@ then
echo "read"
read -p "Please enter GTS2 username: " username
read -p "Please enter GTS2 password: " password
read -p "Please enter GTS2 port (default 80): " port
read -p "Please enter GTS2 port (default 443): " port
cat > ${cred_file} <<EOL
{
"user": "${username}",
......
......@@ -694,7 +694,7 @@ def __get_auth(logger=None):
if "port" in cred_dict.keys():
port = cred_dict["port"]
else:
port = 80
port = 443
auth = (cred_dict["user"], cred_dict["password"])
else:
logger.error("You did not save your credentials in %s." % cred_file)
......@@ -702,7 +702,7 @@ def __get_auth(logger=None):
password = input("gts2_client - Please insert password: ")
port = input("gts2_client - Please insert port for API (for default, type 'yes'): ")
if port == "yes":
port = "80"
port = "443"
auth = (user, password)
return {"auth": auth, "port": port}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment