aboutsummaryrefslogtreecommitdiff
path: root/src/config/botleaguesapi.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/botleaguesapi.php')
-rw-r--r--src/config/botleaguesapi.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config/botleaguesapi.php b/src/config/botleaguesapi.php
new file mode 100644
index 0000000..1df9c5a
--- /dev/null
+++ b/src/config/botleaguesapi.php
@@ -0,0 +1,15 @@
+<?php
+
+return [
+
+ 'default_format' => 'json',
+
+ 'formats' => [
+
+ 'json' => 'Dingo\Api\Http\ResponseFormat\JsonpResponseFormat',
+
+ ],
+
+ 'allowed_origin' => ['http://botleagues.camilstaps.nl', 'https://botleagues.camilstaps.nl']
+
+];