hotfix for header authorization

This commit is contained in:
InsanusMokrassar 2022-11-16 21:19:01 +06:00
parent 08da50705c
commit 047f51fd96
2 changed files with 4 additions and 17 deletions

View File

@ -1,17 +0,0 @@
on: [push]
name: Build
jobs:
build-ubuntu:
name: Commit release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build
run: ./gradlew build packageUberJarForCurrentOS

View File

@ -86,6 +86,10 @@ return """
name = "$headerName" name = "$headerName"
value = project.hasProperty('${headerValueProperty}') ? project.property('${headerValueProperty}') : System.getenv('${headerValueProperty}') value = project.hasProperty('${headerValueProperty}') ? project.property('${headerValueProperty}') : System.getenv('${headerValueProperty}')
} }
authentication {
header(HttpHeaderAuthentication)
}
""" """
} }