Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Turbulinks fixes #873

Merged
merged 1 commit into from Jul 9, 2021
Merged

Turbulinks fixes #873

merged 1 commit into from Jul 9, 2021

Conversation

ghost
Copy link

@ghost ghost commented Jul 8, 2021

Sometimes when turbolinks were turned on the application did not install correctly

Turbulinks fixes
@gnikyt gnikyt added the feature Enhancement to the code label Jul 9, 2021
@gnikyt gnikyt merged commit 128dae7 into gnikyt:master Jul 9, 2021
if (Util::getShopifyConfig('turbo_enabled') && $request->user()) {
// If the user clicked on any link before load Turbo and receiving the token
$shopDomain = $request->user()->getDomain();
$shopDomain = $request->has('shop')
Copy link
Contributor

Choose a reason for hiding this comment

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

this doesn't feel very safe

also where did the check if turbo is even enabled go?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Enhancement to the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants