Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
localzet committed Feb 25, 2023
1 parent 4ebcee4 commit 965e5a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
8 changes: 1 addition & 7 deletions app/middleware/StaticFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ public function process(Request $request, callable $next): Response
}
}

/** @var Response $response */
$response = $next($request);

if (config('plugin.framex.cors.app.enable', false) === true) {
$response->withHeaders(config('plugin.framex.cors.app.headers', []));
}
return $response;
return $next($request);
}
}
5 changes: 0 additions & 5 deletions public/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ $RECYCLE.BIN/

*~

Icon

Network Trash Folder
Temporary Items

*.css.map
*.sass.map
*.scss.map
Expand Down

0 comments on commit 965e5a3

Please sign in to comment.