HeanCMS: Fix headers (#3263)

bruh
This commit is contained in:
bapeey 2024-05-28 07:09:29 -05:00 committed by GitHub
parent bd9bdacabe
commit a330f633f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ plugins {
id("lib-multisrc")
}
baseVersionCode = 23
baseVersionCode = 24
dependencies {
api(project(":lib:i18n"))

View File

@ -76,7 +76,7 @@ abstract class HeanCms(
protected open val dateFormat = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ", Locale.US)
override fun headersBuilder(): Headers.Builder = Headers.Builder()
override fun headersBuilder() = super.headersBuilder()
.add("Origin", baseUrl)
.add("Referer", "$baseUrl/")