@@ -12,36 +12,36 @@ defmodule WebPushElixir.MockServer do
1212 get "/" do
1313 conn
1414 |> put_resp_header ( "content-type" , "text/html; charset=utf-8" )
15- |> Plug.Conn . send_file ( 200 , "./lib/web_push_elixir /index.html" )
15+ |> Plug.Conn . send_file ( 200 , "./example /index.html" )
1616 end
1717
1818 get "/app.webmanifest" do
1919 conn
2020 |> put_resp_header ( "content-type" , "application/manifest+json" )
21- |> Plug.Conn . send_file ( 200 , "./lib/web_push_elixir /app.webmanifest" )
21+ |> Plug.Conn . send_file ( 200 , "./example /app.webmanifest" )
2222 end
2323
2424 get "/main.js" do
2525 conn
2626 |> put_resp_header ( "content-type" , "application/x-javascript" )
27- |> Plug.Conn . send_file ( 200 , "./lib/web_push_elixir /main.js" )
27+ |> Plug.Conn . send_file ( 200 , "./example /main.js" )
2828 end
2929
3030 get "/service-worker.js" do
3131 conn
3232 |> put_resp_header ( "content-type" , "application/x-javascript" )
33- |> Plug.Conn . send_file ( 200 , "./lib/web_push_elixir /service-worker.js" )
33+ |> Plug.Conn . send_file ( 200 , "./example /service-worker.js" )
3434 end
3535
3636 get "/web-push-elixir/service-worker.js" do
3737 conn
3838 |> put_resp_header ( "content-type" , "application/x-javascript" )
39- |> Plug.Conn . send_file ( 200 , "./lib/web_push_elixir /service-worker.js" )
39+ |> Plug.Conn . send_file ( 200 , "./example /service-worker.js" )
4040 end
4141
4242 get "/favicon.ico" do
4343 conn
4444 |> put_resp_header ( "content-type" , "image/x-icon" )
45- |> Plug.Conn . send_file ( 200 , "./lib/web_push_elixir /favicon.ico" )
45+ |> Plug.Conn . send_file ( 200 , "./example /favicon.ico" )
4646 end
4747end
0 commit comments