https://avo.cool logo
Hey hey! πŸ‘‹The weirdest thing I just
# general
e
Hey hey! πŸ‘‹The weirdest thing I just realized. The left sidebar is different in production. Screenshots in thread
Copy code
## == Menus ==
  # config.main_menu = -> {
  #   section "Dashboards", icon: "dashboards" do
  #     all_dashboards
  #   end

  #   section "Resources", icon: "resources" do
  #     all_resources
  #   end

  #   section "Tools", icon: "tools" do
  #     all_tools
  #   end
  # }
  #
  # This only works with Pro license
  config.main_menu = lambda {
    section 'Dashboards', icon: 'dashboards' do
      all_dashboards
    end

    section 'Resources', icon: 'dashboards' do
      resource :account
      resource :user
      resource :attribution
      resource :proposal
      resource :cancelation
    end
    section 'Billing', icon: 'dashboards' do
      resource :billing_plan, label: 'Plans'
      resource :billing_subscription, label: 'Subscription'
    end
  }
  # config.profile_menu = -> {
  #   link "Profile", path: "/avo/profile", icon: "user-circle"
  # }
end
Copy code
config.license_key = ENV.fetch('AVO_LICENSE_KEY', nil)
This returns the same license key in production and in development.
l
Looks like the license is Community on production
Have you changed anything lately?
Or, was it the same as development at any point in time?
Ensure that you have the avo toke env in prod as well
check this path
/avo/avo_private/status
e
I think it was the same at any point in time. I guess I just didn't realize I had the community license in prod πŸ˜… I do have the same key in production tho. ENV.fetch('AVO_LICENSE_KEY', nil) returns the exact same string
Invalid Advanced license in /avo_private/status
l
hmm
e
Sent screenshot in private
l
ok. checking on my end
just a sec
e
The only thing that is different from dev and prod is the path. But I guess that can't be it. I use a secret url for admin: config.root_path = ENV.fetch('ADMIN_PATH', '/avo')
both app.nusii.com and app.nusii.test are added to the license
l
it's on our end. fixing in just a sec
it's not that
e
I see now that there is a button refresh license. I have never clicked on that
l
try clicking that now
e
Same thing
l
on it...
e
You have 6 minutes until I'm going to see DHH's Campfire walkthrough webinar πŸ˜…
l
haha
less than one minute deployment
I'm jelly your getting to see that
retry now please
e
yes! it is working πŸ‘Œ
just on time
l
niiice!
sorry about that!
Don't worry!
This might just mean that you are too generous with free features πŸ˜…
l
hahahhaa
thanks for saying that!
I hope you don't regret your decision of buying it πŸ˜…
e
haha, naah!
4 Views