# 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:** 2

<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/2 "2020-02-23T06:49:36Z")

</div>

according to a similar post [Plug.Static is unable to serve files in production - #8 by OvermindDL1](https://forum.elixirforum.com/t/plug-static-is-unable-to-serve-files-in-production/25439/8)

this could be that the path for plug static is resolved at compile time

plug Plug.Static, at: “/downs”, from: Path.expand(‘./downs’)

so the . is the directory where the release was built, so when moving the release to another directory, it does not work anymore

but that does not explain why file1 is found and not file2

---

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