How to run code from an env variable

LiveView is not live because host check

2024-05-05T11:43:05Z app[568300dc794008] gru [info]11:43:05.113 [error] Could not check origin for Phoenix.Socket transport.
2024-05-05T11:43:05Z app[568300dc794008] gru [info]Origin of the request: https://bugex.fly.dev
2024-05-05T11:43:05Z app[568300dc794008] gru [info]This happens when you are attempting a socket connection to
2024-05-05T11:43:05Z app[568300dc794008] gru [info]a different host than the one configured in your config/
2024-05-05T11:43:05Z app[568300dc794008] gru [info]files. For example, in development the host is configured
2024-05-05T11:43:05Z app[568300dc794008] gru [info]to "localhost" but you may be trying to access it from
2024-05-05T11:43:05Z app[568300dc794008] gru [info]"127.0.0.1". To fix this issue, you may either:
2024-05-05T11:43:05Z app[568300dc794008] gru [info]  1. update [url: [host: ...]] to your actual host in the
2024-05-05T11:43:05Z app[568300dc794008] gru [info]     config file for your current environment (recommended)
2024-05-05T11:43:05Z app[568300dc794008] gru [info]  2. pass the :check_origin option when configuring your
2024-05-05T11:43:05Z app[568300dc794008] gru [info]     endpoint or when configuring the transport in your
2024-05-05T11:43:05Z app[568300dc794008] gru [info]     UserSocket module, explicitly outlining which origins
2024-05-05T11:43:05Z app[568300dc794008] gru [info]     are allowed:
2024-05-05T11:43:05Z app[568300dc794008] gru [info]        check_origin: ["https://example.com",
2024-05-05T11:43:05Z app[568300dc794008] gru [info]                       "//another.com:888", "//other.com"]

I know that for real prod you need to check_origin but whatever

Application.put_env(:sample, Example.Endpoint,
  http: [ip: {0, 0, 0, 0}, port: 4000],
  server: true,
  live_view: [signing_salt: "aaaaaaaa"],
-  secret_key_base: String.duplicate("a", 64)
+  secret_key_base: String.duplicate("a", 64),
+  check_origin: false
)