# Problem with app dir using release

**URL:** <https://forum.elixirforum.com/t/problem-with-app-dir-using-release/29333>\
**Category:** Questions\
**Tags:** phoenix, deployment, phoenix-using-release\
**Created:** [February 22, 2020, 8:17pm UTC](https://forum.elixirforum.com/t/problem-with-app-dir-using-release/29333 "2020-02-22T20:17:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![blset](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/b/f07891/32.png) [@blset](https://forum.elixirforum.com/u/blset)\
**Post date:** [February 23, 2020, 6:49am UTC](https://forum.elixirforum.com/t/problem-with-app-dir-using-release/29333/3 "2020-02-23T06:49:37Z")

</div>

finally the answer from the doc of plug static

Plug.Static will be unable to serve assets if you build releases or if you change the current directory. Instead do:

```elixir
plug Plug.Static, from: {:app_name, "priv/app/path"}

```

---

_[View the full topic](https://forum.elixirforum.com/t/problem-with-app-dir-using-release/29333)._
