Skip to content

Commit

Permalink
Small improvements & fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal-Mikolas committed Mar 3, 2023
1 parent f4973fc commit df18de1
Show file tree
Hide file tree
Showing 7 changed files with 701 additions and 256 deletions.
6 changes: 6 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@ Deny from all
RewriteEngine On
#RewriteBase /

# HTTP -> HTTPS
RewriteCond %{HTTPS} !=on
RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R=301]

# Front Controller
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ public/$1 [L]
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function up()
DB::statement('SET FOREIGN_KEY_CHECKS = 1;');

$table->smallInteger('interruption')->after('total_points');
$table->text('interruption_reason')->after('interruption');
$table->text('interruption_reason')->nullable()->after('interruption');
});
}

Expand Down
Loading

0 comments on commit df18de1

Please sign in to comment.