-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Changes to make HTTPS work * ws_protocol should be different if not use_ssl oops :) * Import ws_protocol as well
- Loading branch information
1 parent
25b3cb9
commit 4898b25
Showing
6 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export const sitekey = 'opendoorstempsite'; | ||
export const authors_path = (letter) => `/${sitekey}/authors${ letter ? `?letter=${letter}` :""}`; | ||
export const authors_path = (letter) => `/${sitekey}/authors${ letter ? `?letter=${letter}` :""}`; | ||
export const ws_protocol = 'ws://'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
export const sitekey = "{{ sitekey }}"; | ||
export const authors_path = (letter) => `/${sitekey}/authors${ letter ? `?letter=${letter}` :""}`; | ||
export const authors_path = (letter) => `/${sitekey}/authors${ letter ? `?letter=${letter}` :""}`; | ||
{% if use_ssl %} | ||
export const ws_protocol = 'wss://'; | ||
{% else %} | ||
export const ws_protocol = 'ws://'; | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters