mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10:24 +00:00
Fix static_handler suite code path
A future OTP release will use 'strict' code path by default. This change ensures it works both for old and new OTP.
This commit is contained in:
parent
67bd791dcc
commit
a72bf4105f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ init_per_suite(Config) ->
|
|||
%% Add a simple Erlang application archive containing one file
|
||||
%% in its priv directory.
|
||||
true = code:add_pathz(filename:join(
|
||||
[config(data_dir, Config), "static_files_app", "ebin"])),
|
||||
[config(data_dir, Config), "static_files_app.ez", "static_files_app", "ebin"])),
|
||||
ok = application:load(static_files_app),
|
||||
%% A special folder contains files of 1 character from 1 to 127
|
||||
%% excluding / and \ as they are always rejected.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue