notice
This commit is contained in:
parent
b38ff13950
commit
84f1ea179f
1 changed files with 20 additions and 17 deletions
|
|
@ -16,6 +16,7 @@ const polygon = turf.polygon(mbnrGeoJson.features[0].geometry.coordinates);
|
|||
export async function scaffoldEssentialConsts() {
|
||||
const consts = await getAllConstValues();
|
||||
|
||||
|
||||
return {
|
||||
freeDeliveryThreshold: consts[CONST_KEYS.freeDeliveryThreshold] ?? 200,
|
||||
deliveryCharge: consts[CONST_KEYS.deliveryCharge] ?? 0,
|
||||
|
|
@ -25,14 +26,16 @@ export async function scaffoldEssentialConsts() {
|
|||
versionNum: consts[CONST_KEYS.versionNum] ?? '1.1.0',
|
||||
playStoreUrl: consts[CONST_KEYS.playStoreUrl] ?? 'https://play.google.com/store/apps/details?id=in.freshyo.app',
|
||||
appStoreUrl: consts[CONST_KEYS.appStoreUrl] ?? 'https://apps.apple.com/in/app/freshyo/id6756889077',
|
||||
webViewHtml: null,
|
||||
isWebviewClosable: true,
|
||||
webviewHtml: `<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%;">
|
||||
<h1 style="font-size: 72px">You're using an old version of app. please restart to update. Just close and open</h1>
|
||||
<h1 style="font-size: 36px; margin-top: 48px">With love, from Freshyo</h5>
|
||||
</div>`,
|
||||
isWebviewClosable: false,
|
||||
isFlashDeliveryEnabled: consts[CONST_KEYS.isFlashDeliveryEnabled] ?? true,
|
||||
supportMobile: consts[CONST_KEYS.supportMobile] ?? '',
|
||||
supportEmail: consts[CONST_KEYS.supportEmail] ?? '',
|
||||
assetsDomain,
|
||||
apiCacheKey,
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
export const commonApiRouter = router({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue