diff --git a/pgs/html/help.page.tmpl b/pgs/html/help.page.tmpl index a6285203..e57ca56e 100644 --- a/pgs/html/help.page.tmpl +++ b/pgs/html/help.page.tmpl @@ -136,6 +136,13 @@ pgs supports SPAs! Upload a _redirects file your project:

/*  /index.html  200
+ +

+ Note that the Content Security Policy (CSP) for pages in the pgs.sh domain + prohibits javascript from connecting to other origins. + Pages served by custom domains do not have this restriction. +

+
@@ -154,10 +161,11 @@
CNAME subdomain.yourcustomdomain.com -> {{.Site.Domain}}

Resulting in:

subdomain.yourcustomdomain.com.         300     IN      CNAME   {{.Site.Domain}}.
-

And a TXT record to tell Prose what blog is hosted on that domain at the subdomain entry _pgs

-
TXT _pgs.subdomain.yourcustomdomain.com -> yourusername
+

And a TXT record to tell Prose what project is hosted on that domain at the subdomain entry _pgs

+
TXT _pgs.subdomain.yourcustomdomain.com -> username-myproject
+

E.g. for user 'erock' and project 'kittens' the result would be:

Resulting in:

-
_pgs.subdomain.yourcustomdomain.com.         300     IN      TXT     "hey"
+
_pgs.subdomain.yourcustomdomain.com.         300     IN      TXT     "erock-kittens"
{{template "marketing-footer" .}}