Cannot add custom domain to my current app - google-cloud-platform

I am trying to connect custom domain to my current project the issue is there is no place to add such domain ,
And why does goodie Claud generate 2 links (domains) for the same app makes no logic.

You can usually set up a custom domain completely in the Firebase console. To do so:
If you haven't set up Firebase Hosting for your project, open the
Hosting page of the Firebase console, click Get Started, and click
through the setup instructions.
Open the Dynamic Links page of the Firebase console.
If you haven't used Dynamic Links before, click Get Started.
Otherwise, click Add URL prefix from the drop-down menu.
Then, complete the setup wizard, specifying the domain and path
prefix you want to use when prompted.
Please follow this documentation to set up the custom domains and further information.

Related

Grafana dashboard uploading in my external website

I am trying to embed Grafana live dashboard in my own external website, which is running in my google cloud, by using iFrame. Since Grafana is executed in my local page only (http://localhost:3000/), I am not able to upload my dashboard in my webpage. I have no idea how to make it online so I can embed it online. Does anyone know how to connect my local Grafana dashboard to online?
I already modified custom.ini to allow embedding.
Open your web browser and go to http://localhost:3000/.
The default HTTP port that Grafana listens to is 3000 unless you have
configured a different port.
On the sign-in page, enter admin for the username and password.
Click Sign in.
If successful, you will see a prompt to change the password.
Click OK on the prompt and change your password.
Steps to create a dashboard:
Click the New dashboard item under the Dashboards icon in the side menu.
On the dashboard, click Add an empty panel.
In the New dashboard/Edit panel view, go to the Query tab.
Configure your query by selecting -- Grafana -- from the data source selector.This generates the Random Walk dashboard.
Click the Save icon in the top right corner of your screen to save the dashboard.
Add a descriptive name, and then click Save.
Also check this link on Embedding Grafana dashboard in a website.

How to remove repository name from a custom domain hosted in Github Pages?

I have made a NameCheap domain and linked it to GitHub pages properly.
If the site is live at a.me/resume, how can I make it just a.me and remove the repository's name from the url?
Open the repository and go to settings - pages - scroll down to the custom domain section and enter your custom domain and click save. You'll want to delete the old CNAME because when you save the custom domain it should create a new CNAME automatically.
I would also recommend verifying the custom domain you want to use with GitHub if you haven't already done so as a preventative measure to discourage domain squatters from using it. For that you'll just need to go to your account settings - pages - add a domain.
In order to verify the custom domain with GitHub, you'll need to add the verification code they give you to your DNS configuration as a TXT file.
https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages

Google reCAPTCHA: how to generate captcha token on the server side

I've added the Google reCAPTCHA enterprise to my auth endpoints, and now I want to cover them by integration tests. To do so, I need to generate a valid token and pass it to requests. But I can't find in the docs how to do that, they only offer to create a separate reCAPTCHA key for testing environment which is not suitable for me, because I want to test production too.
I am not sure if I understood you, but I utilized test keys for testing Recaptcha using Cypress , here you can find them and more information about what you want
Copied from some source
Hello,
If you’re getting new reCaptcha keys each time you create a site then I’m afraid to say you’re doing so improperly for this scenario. Hopefully, the below instructions can help:
Log into your Google Admin Console.
Browse to the API key that you have set for your website. If you have more than 1 reCaptcha in your Admin Console you may need to click the dropdown next to the “You have ‘x’ site(s)”.
Once you’ve found your specific reCaptcha API, you’ll want to click the Settings gear icon at the top right. This will bring you to your API settings where you can grab your reCaptcha keys and add additional domains to the allow-list.
On the Settings screen you should see a list of domains in an allow-list with an input box to enter additional domains. There should be a plus sign next to this input box. Enter your domain and click the plus sign.
Finally, scroll to the bottom of the page and click the blue “Save” button. This will tell Google to apply your changes and may take up to 5 minutes to be put into place.
This will tell Google to allow the same reCaptcha keys for multiple domains specified in this allow-list on the Settings page. For further help, we’ve created an Imgur Album of a few screenshots that may help you along your way:
https://imgur.com/a/aT8J6Uu
Hopefully, with the above instructions, you’ll be able to add in your additional domains to the allow list. Should you need further assistance, we suggest reaching out to Google G Suite Admin Support.
Hope it will solve your issue
If it still didn't work in your scenario you can use the dynamic way of applying keys like saving keys into the Environment variable and based on the current environment it will be changed dynamically

google action project not showing on google home

I want test 'Account Linking' but not showing my project id (ex. [test]exampleProject) on google home app -> Home Control section
First, i set like this:
google home login id is same to action google project id.
already i saw this issue page ( https://github.com/actions-on-google/smart-home-nodejs/issues/1 )
but i don't now that how they solved this problem.
i need help, please.
i solve it...
In order to be visible in the home control section of the Google home app, you must build it to smart home the first time you set up Google Action.

Invalid url for content item created in a tree of sitecore

I am trying to create a simple parent child pages in a sitecore tree as follows,
Home
Test
Test1
Test3
Test2
Test4
When I publish and check the url as http://test.com/Test/Test1 or http://test.com/Test/Test1/Test3
I am not able to access it and gives the following error
The requested document was not found
Most likely causes: •The resource you are looking for (or one of its dependencies) has been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
What you can try:
Go back to the previous page
Go to the start page
More information
Requested URL: /test/
User Name: extranet\Anonymous
Site Name: website
If the page you are trying to display exists, please check that an appropriate prefix has been added to the IgnoreUrlPrefixes setting in the web.config.
Please let me know if I am messing anything or a setting.
I would recommend u to open the Sitecore Desktop and switch to the "Web database" on the bottom right of your screen. If you are in the web database go and take a look if the items that you have created are all published in the web database.
Also you want to check quickly if this is a publish problems you can also put your website into live mode by putting the master connection string over the web one, cause that way you will just see all master content on your website.