parent
caf7920672
commit
4a2e4fc99f
1 changed files with 3 additions and 3 deletions
|
@ -197,7 +197,7 @@ func (c *Config) PublicConfig() ClientConfig {
|
||||||
Colors: colors.All.List(),
|
Colors: colors.All.List(),
|
||||||
JSHash: fs.Checksum(c.BuildPath() + "/app.js"),
|
JSHash: fs.Checksum(c.BuildPath() + "/app.js"),
|
||||||
CSSHash: fs.Checksum(c.BuildPath() + "/app.css"),
|
CSSHash: fs.Checksum(c.BuildPath() + "/app.css"),
|
||||||
ManifestHash: fs.Checksum(c.StaticPath() + "/manifest.json"),
|
ManifestHash: fs.Checksum(c.TemplatesPath() + "/manifest.json"),
|
||||||
Clip: txt.ClipDefault,
|
Clip: txt.ClipDefault,
|
||||||
PreviewToken: "public",
|
PreviewToken: "public",
|
||||||
DownloadToken: "public",
|
DownloadToken: "public",
|
||||||
|
@ -261,7 +261,7 @@ func (c *Config) GuestConfig() ClientConfig {
|
||||||
PreviewToken: c.PreviewToken(),
|
PreviewToken: c.PreviewToken(),
|
||||||
JSHash: fs.Checksum(c.BuildPath() + "/share.js"),
|
JSHash: fs.Checksum(c.BuildPath() + "/share.js"),
|
||||||
CSSHash: fs.Checksum(c.BuildPath() + "/share.css"),
|
CSSHash: fs.Checksum(c.BuildPath() + "/share.css"),
|
||||||
ManifestHash: fs.Checksum(c.StaticPath() + "/manifest.json"),
|
ManifestHash: fs.Checksum(c.TemplatesPath() + "/manifest.json"),
|
||||||
Clip: txt.ClipDefault,
|
Clip: txt.ClipDefault,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -316,7 +316,7 @@ func (c *Config) UserConfig() ClientConfig {
|
||||||
PreviewToken: c.PreviewToken(),
|
PreviewToken: c.PreviewToken(),
|
||||||
JSHash: fs.Checksum(c.BuildPath() + "/app.js"),
|
JSHash: fs.Checksum(c.BuildPath() + "/app.js"),
|
||||||
CSSHash: fs.Checksum(c.BuildPath() + "/app.css"),
|
CSSHash: fs.Checksum(c.BuildPath() + "/app.css"),
|
||||||
ManifestHash: fs.Checksum(c.StaticPath() + "/manifest.json"),
|
ManifestHash: fs.Checksum(c.TemplatesPath() + "/manifest.json"),
|
||||||
Clip: txt.ClipDefault,
|
Clip: txt.ClipDefault,
|
||||||
Server: NewRuntimeInfo(),
|
Server: NewRuntimeInfo(),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue