Commit f76cd13f authored by Syed Bilal Raees's avatar Syed Bilal Raees

aap yaml

parent 5fba8b00
runtime: nodejs14
handlers:
- url: /(.*\..+)$
static_files: ./
upload: ./
- url: /.*
static_files: build/index.html
upload: build/index.html
\ No newline at end of file
# This file specifies files that are *not* uploaded to Google Cloud Platform
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore
# Node.js dependencies:
node_modules/
\ No newline at end of file
#service: ulta-beauty-react
#
#runtime: nodejs16
#
#handlers:
# - url: /static
#
# static_dir: build/static
# - url: /(.*\.(json|ico|js|webp))$
#
# static_files: build/\1
#
# upload: build/.*\.(json|ico|js|webp)$
# - url: .*
#
# static_files: build/index.html
#
# upload: build/index.html
#
# - url: /public
# static_dir: public
#
# - url: /public/(.*\.(json|ico|js|webp))$
#
# static_files: public/\1
#
# upload: public/.*\.(json|ico|js|webp)$
#
runtime: nodejs14
handlers:
- url: /(.*\..+)$
static_files: build/\1
upload: build/(.*\..+)$
- url: /.*
static_files: build/index.html
upload: build/index.html
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -22,7 +22,7 @@ const Search = () => {
const { text } = value;
if (text) {
// const searchResults = mockResponse;
const searchResults = await fetch(`https://3002-cs-e60cf927-fc0f-43c2-b5ee-d4e6f9493653.cs-asia-southeast1-bool.cloudshell.dev/search?text=${text}`)
const searchResults = await fetch(`http://localhost:3002/search?text=${text}`)
// .then(res => res.json())
.then(res => res.data);
// console.log('searchResults', searchResults);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment