Skip to content

Commit

Permalink
Add meta data to check if server is-prod
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Sep 9, 2024
1 parent b40c8f8 commit bc2da6c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/layouts/ai-qr-mobile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta http-equiv="Content-Security-Policy" content="script-src * 'unsafe-inline' 'unsafe-eval'; object-src 'self';">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="is-prod" content="{{ config('app.env') == 'production' ? 'true' : 'false' }}">
<meta name="app-url" content="{{ config('app.url') }}">
<meta name="open-ai-nlq-to-pmql" content="{{ config('app.open_ai_nlq_to_pmql') }}">
<meta name="i18n-mdate" content='{!! json_encode(ProcessMaker\i18nHelper::mdates()) !!}'>
Expand Down
1 change: 1 addition & 0 deletions resources/views/layouts/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
worker-src 'self' blob:;">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="is-prod" content="{{ config('app.env') == 'production' ? 'true' : 'false' }}">
<meta name="app-url" content="{{ config('app.url') }}">
<meta name="open-ai-nlq-to-pmql" content="{{ config('app.open_ai_nlq_to_pmql') }}">
<meta name="i18n-mdate" content='{!! json_encode(ProcessMaker\i18nHelper::mdates()) !!}'>
Expand Down
1 change: 1 addition & 0 deletions resources/views/layouts/minimal.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta http-equiv="Content-Security-Policy" content="script-src * 'unsafe-inline' 'unsafe-eval'; object-src 'none';">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="is-prod" content="{{ config('app.env') == 'production' ? 'true' : 'false' }}">
<meta name="i18n-mdate" content='{!! json_encode(ProcessMaker\i18nHelper::mdates()) !!}'>
<title>@yield('title',__('Welcome')) - {{ __('ProcessMaker') }}</title>
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
Expand Down
1 change: 1 addition & 0 deletions resources/views/layouts/preview.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
worker-src 'self' blob:;">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="is-prod" content="{{ config('app.env') == 'production' ? 'true' : 'false' }}">
<meta name="app-url" content="{{ config('app.url') }}">
<meta name="open-ai-nlq-to-pmql" content="{{ config('app.open_ai_nlq_to_pmql') }}">
<meta name="i18n-mdate" content='{!! json_encode(ProcessMaker\i18nHelper::mdates()) !!}'>
Expand Down
1 change: 1 addition & 0 deletions resources/views/layouts/process-map.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta http-equiv="Content-Security-Policy" content="script-src * 'unsafe-inline' 'unsafe-eval'; object-src 'none';">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="is-prod" content="{{ config('app.env') == 'production' ? 'true' : 'false' }}">
<meta name="app-url" content="{{ config('app.url') }}">
<meta name="i18n-mdate" content='{!! json_encode(ProcessMaker\i18nHelper::mdates()) !!}'>
@if (Auth::user())
Expand Down
1 change: 1 addition & 0 deletions resources/views/tasks/preview.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
worker-src 'self' blob:;">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="is-prod" content="{{ config('app.env') == 'production' ? 'true' : 'false' }}">
<meta name="app-url" content="{{ config('app.url') }}">
<meta name="open-ai-nlq-to-pmql" content="{{ config('app.open_ai_nlq_to_pmql') }}">
<meta name="i18n-mdate" content='{!! json_encode(ProcessMaker\i18nHelper::mdates()) !!}'>
Expand Down

0 comments on commit bc2da6c

Please sign in to comment.