commit | 85b5e266cbed1093e1440ee0ac50087697a96108 | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sat Mar 28 19:50:44 2020 +0100 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sat Mar 28 19:50:44 2020 +0100 |
tree | ee22d8a981499a7bb392b96d3c22f21c86c89a12 | |
parent | 2f3ce9a0e0ea14c9e98395eee181d9e01b5aad58 [diff] |
Configure cookie path for q_session cookie. While Gecko defaults to / as the cookie path if not set, Safari defaults to the page that set the cookie. This means that the session cookie is only valid for the page a login flow was started from but not any other pages and so a new login is required for each page, which makes no sense and is very inconvenient. This patch fixes the problem by explicity setting the cookie path to /. Change-Id: I8edc59958fe9120f70af1c00ebc8ae103ef756f7
This project uses Quarkus, the Supersonic Subatomic Java Framework.
If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .
You can run your application in dev mode that enables live coding using:
./gradlew quarkusDev
The application is packageable using ./gradlew quarkusBuild
. It produces the executable mulkcms2-1.0.0-SNAPSHOT-runner.jar
file in build
directory. Be aware that it’s not an über-jar as the dependencies are copied into the build/lib
directory.
The application is now runnable using java -jar build/mulkcms2-1.0.0-SNAPSHOT-runner.jar
.
If you want to build an über-jar, just add the --uber-jar
option to the command line:
./gradlew quarkusBuild --uber-jar
You can create a native executable using: ./gradlew buildNative
.
Or you can use Docker to build the native executable using: ./gradlew buildNative --docker-build=true
.
You can then execute your binary: ./build/mulkcms2-1.0.0-SNAPSHOT-runner
If you want to learn more about building native executables, please consult https://quarkus.io/guides/gradle-tooling#building-a-native-executable .