Sha256: 657d8ff28dfdfa760c468d0f1e4a151790388eb41bcebda0b614ca25fdb2d3c6

Contents?: true

Size: 750 Bytes

Versions: 1

Compression:

Stored size: 750 Bytes

Contents

<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <base target="_top">
  <title>Redirecting…</title>
  <script src="https://unpkg.com/@shopify/app-bridge@^1"></script>
  <script>
    window.apiKey = "<%= ShopifyApp.configuration.api_key %>";
    window.shopOrigin = "https://<%= current_shopify_domain %>";
  </script>
  <%= javascript_include_tag('shopify_app/redirect', crossorigin: 'anonymous', integrity: true) %>
</head>
<body>
  <%=
  content_tag(:div, nil,
    id: 'redirection-target',
    data: {
      target: {
        myshopifyUrl: "https://#{current_shopify_domain}",
        url: url,
      },
    },
  )
  %>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shopify_app-14.1.0 app/views/shopify_app/shared/redirect.html.erb