PJ Walstrom
10/18/2020, 8:16 PM@StaticGet("/favicon.ico", MimeType.PNG)
val favicon = File("favicon.ico")
The resource is deployed to S3, but it is not accessible. Locally, it works, though.
I see the same problems with e.g. https://ktor.short.kotless.io/favicon.apng and https://ktor.site.kotless.io/favicon.apngTanVD
10/18/2020, 8:53 PMico
as png
probably. From Safari kotless examples been working ok, but from Chrome I see some error with headers...PJ Walstrom
10/18/2020, 9:09 PMTanVD
10/19/2020, 7:18 AMPJ Walstrom
10/19/2020, 8:27 AM./gradlew local
, thoughTanVD
10/19/2020, 1:41 PMPJ Walstrom
10/19/2020, 1:42 PMTanVD
10/19/2020, 1:53 PMPJ Walstrom
10/19/2020, 1:58 PM/1
, though
Source code: https://github.com/pjwalstrom/kotless-test/blob/master/src/main/kotlin/me/pj/Main.ktTanVD
10/19/2020, 9:12 PMPJ Walstrom
10/20/2020, 6:22 AMTanVD
10/20/2020, 2:19 PMPJ Walstrom
10/21/2020, 2:51 PMhttps://www.waperon.org/fjell.jpg▾
TanVD
10/21/2020, 8:57 PMPJ Walstrom
10/22/2020, 8:48 AMTanVD
10/22/2020, 9:36 AM