Skip to content

Commit

Permalink
Support for using Secure Sessions (#71)
Browse files Browse the repository at this point in the history
* Support for using secure sessions
* Update github actions
* Add missing commas
* Use secure headers
  • Loading branch information
gaby authored Jun 29, 2023
1 parent d923532 commit 8237263
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-pr-submit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
devel-tag-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
name: Push to pypi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
3 changes: 3 additions & 0 deletions gdash/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"/": {
"tools.staticdir.on": True,
"tools.sessions.on": True,
"tools.sessions.secure" = True,
"tools.sessions.httponly" = True,
"tools.secureheaders.on" = True,
"tools.staticdir.dir": os.path.join(
os.path.dirname(os.path.abspath(__file__)), "ui"
),
Expand Down

0 comments on commit 8237263

Please sign in to comment.