mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
add noindex
This commit is contained in:
1 parent
abbd3e809a
commit
e7eb1d4f12
3 files changed
+8
No files matched your search
@@ -66,6 +66,10 @@ module Api
|
||||
current_user&.account
|
||||
end
|
||||
|
||||
def set_noindex_headers
|
||||
headers['X-Robots-Tag'] = 'noindex'
|
||||
end
|
||||
|
||||
def set_cors_headers
|
||||
headers['Access-Control-Allow-Origin'] = '*'
|
||||
headers['Access-Control-Allow-Methods'] = 'POST, GET, PUT, PATCH, DELETE, OPTIONS'
|
||||
|
||||
Reference in new issue
Block a user