Skip to content

Commit

Permalink
Merge pull request #192 from SunPj/SunPj-Last-Modified-HTTP-header
Browse files Browse the repository at this point in the history
Fixes "Main page caching doesn't work properly"
  • Loading branch information
mkurz authored Feb 21, 2024
2 parents 9737217 + 82605a6 commit 8f84b2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import sbt.Package.FixedTimestamp

name := """play-scala-react-seed"""

version := "1.0-SNAPSHOT"

lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.settings(
watchSources ++= (baseDirectory.value / "public/ui" ** "*").get
watchSources ++= (baseDirectory.value / "public/ui" ** "*").get,
ThisBuild / packageOptions += FixedTimestamp(Package.keepTimestamps)
)

resolvers += Resolver.sonatypeRepo("snapshots")
Expand Down

0 comments on commit 8f84b2a

Please sign in to comment.