mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 20:13:43 +08:00
13 lines
318 B
Ruby
13 lines
318 B
Ruby
# frozen_string_literal: true
|
|
|
|
# name: csp_extension
|
|
# about: Fixture plugin that extends default CSP
|
|
# version: 1.0
|
|
# authors: xrav3nz
|
|
|
|
extend_content_security_policy(
|
|
script_src: ['https://from-plugin.com'],
|
|
object_src: ['https://test-stripping.com'],
|
|
frame_ancestors: ['https://frame-ancestors-plugin.ext']
|
|
)
|