PHP Classes

File: pizzerine/src/Helpers/Url.js

Recommend this page to a friend!
  Classes of Hillary Kollan   React Laravel Stripe MailJet Pizza Ordering   pizzerine/src/Helpers/Url.js   Download  
File: pizzerine/src/Helpers/Url.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: React Laravel Stripe MailJet Pizza Ordering
Web application to process orders of Pizza
Author: By
Last change:
Date: 1 year ago
Size: 910 bytes
 

Contents

Class file image Download
const baseUrl = "http://localhost/pizzeria-api/public/api"; const iconUrl = "http://localhost/pizzeria-api/public/storage/Icons"; const assetUrl_local = "/assets/"; const stripePublicKey = "pk_test_N6y5hXHpI9GDfOa2VgHx53fI"; const googleMapsApiKey = "AIzaSyDTePHiX02RDQhPUlWV6ttVQHLyrPgHhdI"; const headers = { "Content-Type":"application/json", "Accept":"application/json", "Authorization":(localStorage.getItem('pizzeria.sanctum')) ? "Bearer "+ localStorage.getItem('pizzeria.sanctum'):"", } const imageHeaders = { "Content-Type":"multipart/form-data", "Authorization":(localStorage.getItem('pizzeria.sanctum')) ? "Bearer "+ localStorage.getItem('pizzeria.sanctum'):"", } let settings = { "baseUrl": baseUrl, "headers": headers, "imageHeaders": imageHeaders, "stripePublicKey": stripePublicKey, "googleMapsApiKey": googleMapsApiKey, "iconUrl": iconUrl}; export default settings;