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

Commit

Permalink
Починить переменные ВК (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
vzalygin authored Jul 19, 2024
1 parent 08c0441 commit 10bc65f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ GEM
sprockets-rails
tilt
selectize-rails (0.12.6)
selenium-webdriver (4.22.0)
selenium-webdriver (4.23.0)
base64 (~> 0.2)
logger (~> 1.4)
rexml (~> 3.2, >= 3.2.5)
Expand All @@ -356,7 +356,7 @@ GEM
time (0.3.0)
date
timeout (0.4.1)
turbo-rails (2.0.5)
turbo-rails (2.0.6)
actionpack (>= 6.0.0)
activejob (>= 6.0.0)
railties (>= 6.0.0)
Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<%= csp_meta_tag %>
<script src="https://unpkg.com/@vkid/sdk@<3.0.0/dist-sdk/umd/index.js"></script>
<script>
window.VK_AUTH_REDIRECT_URL = "<%= Rails.VK_AUTH_REDIRECT_URL %>"
window.VK_APP_ID = "<%= Rails.VK_APP_ID %>"
window.VK_AUTH_REDIRECT_URL = "<%= ENV['VK_AUTH_REDIRECT_URL'] %>"
window.VK_APP_ID = "<%= ENV['VK_APP_ID'] %>"
</script>
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
<link rel="preconnect" href="https://fonts.googleapis.com">
Expand Down

0 comments on commit 10bc65f

Please sign in to comment.