Browse Source

Removed CSP in Layout (revisit later)

tags/2.0.3
Teknikode 4 years ago
parent
commit
d46e20b022
1 changed files with 0 additions and 7 deletions
  1. 0
    7
      Teknik/Views/Shared/_Layout.cshtml

+ 0
- 7
Teknik/Views/Shared/_Layout.cshtml View File

@@ -10,13 +10,6 @@
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<!-- Content Restriction Policy: Where the content is allowed to come from -->
@if (!Request.IsLocal)
{
// Only have this if we aren't running on localhost
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval' *.@Model.Config.Host @Model.Config.ShortenerConfig.ShortenerHost; img-src *; media-src *" />
}

<!-- What is the page's content type -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


Loading…
Cancel
Save