mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00
only run end_static_dir for http and https
This commit is contained in:
parent
54d16c14ad
commit
1592adcd4e
1 changed files with 4 additions and 2 deletions
|
@ -102,9 +102,11 @@ end_per_group(https, Config) ->
|
||||||
application:stop(crypto),
|
application:stop(crypto),
|
||||||
end_static_dir(Config),
|
end_static_dir(Config),
|
||||||
ok;
|
ok;
|
||||||
end_per_group(Listener, Config) ->
|
end_per_group(http, Config) ->
|
||||||
|
cowboy:stop_listener(http),
|
||||||
|
end_static_dir(Config);
|
||||||
|
end_per_group(Listener, _Config) ->
|
||||||
cowboy:stop_listener(Listener),
|
cowboy:stop_listener(Listener),
|
||||||
end_static_dir(Config),
|
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
%% Dispatch configuration.
|
%% Dispatch configuration.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue