Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Данные для ВК в переменных окружения #49

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

vzalygin
Copy link
Collaborator

Унес урлу для редиректа и id приложения в переменные окружения

@vzalygin vzalygin requested a review from mikeGEINE July 18, 2024 17:44
@vzalygin vzalygin self-assigned this Jul 18, 2024
.env.example Outdated Show resolved Hide resolved
Comment on lines +10 to +13
<script>
window.VK_AUTH_REDIRECT_URL = "<%= Rails.VK_AUTH_REDIRECT_URL %>"
window.VK_APP_ID = "<%= Rails.VK_APP_ID %>"
</script>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Имхо, я бы не скрипт ставил, а мета-теги, но не принципиально)

@vzalygin vzalygin merged commit 08c0441 into dev Jul 19, 2024
1 check passed
@vzalygin vzalygin deleted the feature/vk-data-env-vars branch July 22, 2024 09:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants