Skip to content

Commit

Permalink
Merge pull request #26 from SaqibSyed1014/staging
Browse files Browse the repository at this point in the history
fixes
  • Loading branch information
SaqibSyed1014 authored Aug 17, 2024
2 parents 4865734 + 4744967 commit eed8e02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions components/core/constants/pricing.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ if (process.env.NODE_ENV === 'production') {

const { host } = useRequestURL();

const devEnvironments = ['development', 'localhost', 'netlify', 'devweb'];

if (process.env.NODE_ENV === 'development' || host?.includes('localhost') || host?.includes('netlify') || host?.includes('devweb')) {
console.log('using dev price Ids ', process.env.NODE_ENV, host)
if (devEnvironments.includes(process.env.NODE_ENV || host || '')) {
console.log('using dev price ids ')
pricingPlanIDsList = [
'price_1OMd9PLckED7yHH5UC3XcJjA',
'price_1PjUuaLckED7yHH5Nto134vZ',
Expand Down
2 changes: 1 addition & 1 deletion pages/post-a-job/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import BaseSpinner from "~/components/core/BaseSpinner.vue";
import FormStepFour from "~/components/pages/post-job/FormStepFour.vue";
import {useHomeStore} from "~/segments/home/store";
const currentStep = ref(1);
const currentStep = ref(0);
const postjobStore = usePostjobStore();
const homeStore = useHomeStore();
const { content,status, checkoutURL } = storeToRefs(postjobStore);
Expand Down

0 comments on commit eed8e02

Please sign in to comment.