custom code path
parent
5b347466a5
commit
fdac072793
1830
bash_history
1830
bash_history
File diff suppressed because it is too large
Load Diff
BIN
cybafelo.blend
BIN
cybafelo.blend
Binary file not shown.
1
hosts
1
hosts
|
@ -19,6 +19,7 @@
|
||||||
127.0.1.1 tj-mail.cybafelo.com
|
127.0.1.1 tj-mail.cybafelo.com
|
||||||
127.0.1.1 tj-cron.cybafelo.com
|
127.0.1.1 tj-cron.cybafelo.com
|
||||||
127.0.1.1 tj-preview.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
|
# The following lines are desirable for IPv6 capable hosts
|
||||||
::1 ip6-localhost ip6-loopback
|
::1 ip6-localhost ip6-loopback
|
||||||
|
|
|
@ -11,7 +11,7 @@ server {
|
||||||
if ($request_method = OPTIONS) {
|
if ($request_method = OPTIONS) {
|
||||||
add_header Access-Control-Allow-Origin $http_origin;
|
add_header Access-Control-Allow-Origin $http_origin;
|
||||||
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS";
|
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;
|
add_header Access-Control-Allow-Credentials true;
|
||||||
return 200;
|
return 200;
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ server {
|
||||||
if ($request_method = OPTIONS) {
|
if ($request_method = OPTIONS) {
|
||||||
add_header Access-Control-Allow-Origin $http_origin;
|
add_header Access-Control-Allow-Origin $http_origin;
|
||||||
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS";
|
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;
|
add_header Access-Control-Allow-Credentials true;
|
||||||
return 200;
|
return 200;
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ server {
|
||||||
if ($request_method = OPTIONS) {
|
if ($request_method = OPTIONS) {
|
||||||
add_header Access-Control-Allow-Origin $http_origin;
|
add_header Access-Control-Allow-Origin $http_origin;
|
||||||
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS";
|
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;
|
add_header Access-Control-Allow-Credentials true;
|
||||||
return 200;
|
return 200;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,8 @@ var secure = {
|
||||||
debug: true,
|
debug: true,
|
||||||
ignoreTLS: true
|
ignoreTLS: true
|
||||||
},
|
},
|
||||||
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
|
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23',
|
||||||
|
customCodePath: '/usr/share/cybafelo/custom-code'
|
||||||
},
|
},
|
||||||
tools: {
|
tools: {
|
||||||
port: 3109,
|
port: 3109,
|
||||||
|
|
|
@ -30,7 +30,6 @@ set statusline="%f%m%r%h%w [%Y] [0x%02.2B]%< %F%=%4v,%4l %3p%% of %L"
|
||||||
|
|
||||||
set number
|
set number
|
||||||
set nowrap
|
set nowrap
|
||||||
set history=1000000
|
|
||||||
com! FormatJSON %!python -m json.tool
|
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>
|
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>
|
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>
|
||||||
|
|
Loading…
Reference in New Issue