Add headers field in ruleset. Enable Google Cache.

This commit is contained in:
Gianni Carafa
2023-11-09 23:32:43 +01:00
parent d3c995df34
commit 6c1f58e2e7
6 changed files with 135 additions and 60 deletions

View File

@@ -51,7 +51,7 @@ func TestRewriteHtml(t *testing.T) {
</html>
`
actual := rewriteHtml(bodyB, u)
actual := rewriteHtml(bodyB, u, Rule{})
assert.Equal(t, expected, actual)
}