Skip to content

Commit

Permalink
Merge pull request #472 from NYUCCL/fix-default-ad-url-port-443
Browse files Browse the repository at this point in the history
default port should be 443
  • Loading branch information
deargle committed Mar 15, 2021
2 parents 49488f6 + 4c8e648 commit 8a49101
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 3.0.3
### Fixed
- Changed default ad url port to 443 instead of 80

## 3.0.2
### Changed
The currently-undocumented `psiturk-heroku-config` command no longer attaches a postgresql addon by default.
Expand Down
5 changes: 3 additions & 2 deletions doc/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,10 @@ ad_url_port
^^^^^^^^^^^

:Type: ``int``
:Default: 80
:Default: 443

Server port for publicly-accessible route to psiturk server
Server port for publicly-accessible route to psiturk server. Default is
443, which is the browser-default for https.


ad_url_protocol
Expand Down
2 changes: 1 addition & 1 deletion psiturk/default_configs/local_config_defaults.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ block_quals =
ad_url_domain =

# Server port for publicly-accessible route to psiturk server
ad_url_port = 80
ad_url_port = 443

# HTTPS protocol is required by mturk. Only change this if you have a good reason
# to do so.
Expand Down
2 changes: 1 addition & 1 deletion psiturk/example/config.txt.sample
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
;ad_url_domain =

# Server port for publicly-accessible route to psiturk server
;ad_url_port = 80
;ad_url_port = 443

# HTTPS protocol is required by mturk. Only change this if you have a good reason
# to do so.
Expand Down
2 changes: 1 addition & 1 deletion psiturk/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version_number = '3.0.2'
version_number = '3.0.3'

0 comments on commit 8a49101

Please sign in to comment.