mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
Merge pull request #1 from opi/master
Allow CORS request for /domains route.
This commit is contained in:
commit
362dffaa84
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ get '/' do
|
||||||
end
|
end
|
||||||
|
|
||||||
get '/domains' do
|
get '/domains' do
|
||||||
|
headers['Access-Control-Allow-Origin'] = '*'
|
||||||
DOMAINS.to_json
|
DOMAINS.to_json
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue