-module(inets_simple_bridge_anchor).
-export ([do/1]).
	
do(Req) ->
	Bridge = simple_bridge:make(inets, Req),
	ReqPath = Bridge:path(),
	case simple_bridge_util:is_static_path(inets, ReqPath) of
		true ->
			Bridge2 = Bridge:set_response_file(ReqPath),
			Bridge2:build_response();
		false ->
			Handler = simple_bridge_util:get_env(handler),
			case simple_bridge_websocket:attempt_hijacking(Bridge, Handler) of
				{hijacked, closed} ->
					done;
				{hijacked, Bridge2} ->
					Bridge2:build_response();
				spared ->
					Handler:run(Bridge)
			end
	end.

-module(inets_simple_bridge_anchor).
-export ([do/1]).
	
do(Req) ->
	Bridge = simple_bridge:make(inets, Req),
	ReqPath = Bridge:path(),
	case simple_bridge_util:is_static_path(inets, ReqPath) of
		true ->
			Bridge2 = sbw:set_response_file(ReqPath, Bridge),
			sbw:build_response(Bridge2);
		false ->
			Handler = simple_bridge_util:get_env(handler),
			case simple_bridge_websocket:attempt_hijacking(Bridge, Handler) of
				{hijacked, closed} ->
					done;
				{hijacked, Bridge2} ->
					sbw:build_response(Bridge2);
				spared ->
					Handler:run(Bridge)
			end
	end.

Remove pmod syntax in inets anchor
Remove pmod syntax in inets anchor
