How does this module handle non production urls?

Created on 11 May 2024, 11 months ago
Updated 14 May 2024, 11 months ago

Problem/Motivation

I was wondering what happens if I were to use this module in my test environments (dev/staging/localhost)? I suppose those URLs will be submitted.

Within the Google Cloud, you'lll need to verify your domain. Does that include the sub domains?

✨ Feature request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΉπŸ‡ΉTrinidad and Tobago xamount

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @xamount
  • πŸ‡ΊπŸ‡ΈUnited States danflanagan8 St. Louis, US

    Hi @xamount. I'm sorry to say I don't have a great answer. I'm doing my best to maintain the module, but I can't say I'm a real expert in this area.

    I know you upload a file through the UI and the file is stored in the private file directory and the path to the file is stored in state.

    If that file with the api key makes it to your dev environment, I suppose it's possible it would try to send something to Google?

    You could always try config_split or something similar to prevent the module from being enabled on non-prod sites.

    I don't know anything about how subdomains would be handled.

  • πŸ‡ΉπŸ‡ΉTrinidad and Tobago xamount

    Thanks for explanation @danflanagan8

    Let's leave this issue open then.

    The IndexNow module has a more integrated approach with config split. Hopefully, this module can do it in such a way eventually.

    https://www.drupal.org/project/index_now β†’

Production build 0.71.5 2024