-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathvercel.json
72 lines (72 loc) · 2.67 KB
/
vercel.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"rewrites": [
{
"source": "/getProductsByCategory",
"destination": "/api/routes"
},
{ "source": "/getProductBySlug", "destination": "/api/routes" },
{ "source": "/getCategories", "destination": "/api/routes" },
{ "source": "/searchProductByKey", "destination": "/api/routes" },
{ "source": "/getProductOption", "destination": "/api/routes" },
{ "source": "/getAllAddresses", "destination": "/api/routes" },
{ "source": "/updateAddress", "destination": "/api/routes" },
{ "source": "/addAddress", "destination": "/api/routes" },
{ "source": "/deleteAddress", "destination": "/api/routes" },
{ "source": "/getAllOrders", "destination": "/api/routes" },
{ "source": "/createOrder", "destination": "/api/routes" },
{ "source": "/getCart", "destination": "/api/routes" },
{ "source": "/createCart", "destination": "/api/routes" },
{ "source": "/addCartItem", "destination": "/api/routes" },
{ "source": "/updateCartItem", "destination": "/api/routes" },
{ "source": "/deleteCartItem", "destination": "/api/routes" },
{
"source": "/updateCartWithCustomerId",
"destination": "/api/routes"
},
{ "source": "/customerLogin", "destination": "/api/routes" },
{ "source": "/customerRegister", "destination": "/api/routes" },
{ "source": "/customerLogOut", "destination": "/api/routes" },
{ "source": "/getCheckout", "destination": "/api/routes" },
{
"source": "/setConsignmentToCheckout",
"destination": "/api/routes"
},
{
"source": "/updateConsignmentToCheckout",
"destination": "/api/routes"
},
{
"source": "/updateShippingOption",
"destination": "/api/routes"
},
{
"source": "/setBillingAddressToCheckout",
"destination": "/api/routes"
},
{
"source": "/getPaymentMethodByOrder",
"destination": "/api/routes"
},
{ "source": "/processPayment", "destination": "/api/routes" },
{ "source": "/addCoupons", "destination": "/api/routes" },
{ "source": "/storefront", "destination": "/api/routes" },
{ "source": "/getHomePageContentWidgets", "destination": "/api/routes" }
],
"env": {
"APP_NAME": "BigCommerce Nuxt Vue Starter",
"PORT": "3000",
"JWT_SECRET": "***",
"BC_API_URL": "https://api.bigcommerce.com",
"STORE_HASH": "***",
"API_TOKEN": "***",
"API_CLIENT_ID": "***",
"API_SECRET": "***",
"CHANNEL_ID": "***",
"BASE_URL": "https://store-storehash-channelid.mybigcommerce.com",
"STOREFRONT_API_TOKEN": "***",
"CHECKOUT_TYPE": "embedded",
"PAYMENT_URL": "https://payments.bigcommerce.com",
"DEPLOY_PLATFORM": "vercel",
"NETLIFY_API_URL": ""
}
}