WIP misc
This commit is contained in:
parent
6ff3080053
commit
eac69d4b59
1
admin/static/js/d3.v3.min.js
vendored
Symbolic link
1
admin/static/js/d3.v3.min.js
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../../frontend/static/js/d3.v3.min.js
|
1
admin/static/js/i18n
Symbolic link
1
admin/static/js/i18n
Symbolic link
@ -0,0 +1 @@
|
||||
../../../frontend/static/js/i18n/
|
34
frontend/nginx-fic-static.conf
Normal file
34
frontend/nginx-fic-static.conf
Normal file
@ -0,0 +1,34 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
server_name fic.srs.epita.fr;
|
||||
|
||||
access_log /var/log/nginx/fic2016.access_log main;
|
||||
error_log /var/log/nginx/fic2016.error_log info;
|
||||
|
||||
root /srv/www/fic2016-static/;
|
||||
|
||||
error_page 403 404 /e404.html;
|
||||
error_page 413 404 /e413.html;
|
||||
error_page 500 502 504 /e500.html;
|
||||
|
||||
location /.htaccess {
|
||||
return 404;
|
||||
}
|
||||
location /chbase.sh {
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~ ^/[0-9] {
|
||||
rewrite ^/.*$ /index.html;
|
||||
}
|
||||
|
||||
location /edit {
|
||||
rewrite ^/.*$ /index.html;
|
||||
}
|
||||
|
||||
location /rank {
|
||||
rewrite ^/.*$ /index.html;
|
||||
}
|
||||
}
|
@ -244,6 +244,7 @@ angular.module("FICApp")
|
||||
$http.get("/my.json").success(function(my) {
|
||||
if ($scope.my.exercices[$rootScope.current_exercice].solved_time != my.exercices[$rootScope.current_exercice].solved_time) {
|
||||
$rootScope.refresh();
|
||||
waitMy();
|
||||
} else {
|
||||
$timeout.cancel($scope.cbd);
|
||||
$scope.cbd = $timeout(checkDiff, 750);
|
||||
|
2
frontend/static/robots.txt
Normal file
2
frontend/static/robots.txt
Normal file
@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
Loading…
Reference in New Issue
Block a user