custom code path

beta.r3js.org
-=yb4f310 2017-11-05 09:37:02 +01:00
parent 5b347466a5
commit fdac072793
6 changed files with 1836 additions and 5 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

1
hosts
View File

@ -19,6 +19,7 @@
127.0.1.1 tj-mail.cybafelo.com
127.0.1.1 tj-cron.cybafelo.com
127.0.1.1 tj-preview.cybafelo.com
127.0.1.1 tj-release.cybafelo.com
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback

View File

@ -11,7 +11,7 @@ server {
if ($request_method = OPTIONS) {
add_header Access-Control-Allow-Origin $http_origin;
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS";
add_header Access-Control-Allow-Headers "Authorization, Content-Type, x-gamewheel";
add_header Access-Control-Allow-Headers "Authorization, Content-Type, x-authorization";
add_header Access-Control-Allow-Credentials true;
return 200;
}
@ -31,7 +31,7 @@ server {
if ($request_method = OPTIONS) {
add_header Access-Control-Allow-Origin $http_origin;
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS";
add_header Access-Control-Allow-Headers "Authorization, Content-Type, x-gamewheel";
add_header Access-Control-Allow-Headers "Authorization, Content-Type, x-authorization";
add_header Access-Control-Allow-Credentials true;
return 200;
}
@ -44,7 +44,7 @@ server {
if ($request_method = OPTIONS) {
add_header Access-Control-Allow-Origin $http_origin;
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS";
add_header Access-Control-Allow-Headers "Authorization, Content-Type, x-gamewheel";
add_header Access-Control-Allow-Headers "Authorization, Content-Type, x-authorization";
add_header Access-Control-Allow-Credentials true;
return 200;
}

View File

@ -24,7 +24,8 @@ var secure = {
debug: true,
ignoreTLS: true
},
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23',
customCodePath: '/usr/share/cybafelo/custom-code'
},
tools: {
port: 3109,

View File

@ -30,7 +30,6 @@ set statusline="%f%m%r%h%w [%Y] [0x%02.2B]%< %F%=%4v,%4l %3p%% of %L"
set number
set nowrap
set history=1000000
com! FormatJSON %!python -m json.tool
nmap <F5> dd\|i<C-R>=join([" -- Theunis J. Botha <tj.botha@plista.com> ", strftime("%a, %d %b %Y %H:%M:%S %z")], "")<CR><CR><Esc>
imap <F5> <ESC>dd\|i<C-R>=join([" -- Theunis J. Botha <tj.botha@plista.com> ", strftime("%a, %d %b %Y %H:%M:%S %z")], "")<CR><CR>