mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-24 23:14:16 +00:00
cross login
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<div class="col text-center">
|
||||
<div class="row m-b-20">
|
||||
<div class="col">
|
||||
<iframe style="width: 500px; height: 600px" src="http://unity.test/test"></iframe>
|
||||
<iframe style="width: 500px; height: 600px" src="http://exchange-2.0.test/cross-login"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -36,7 +36,7 @@
|
||||
},
|
||||
methods:{
|
||||
iframeEvent(event) {
|
||||
if(event.origin !== 'http://unity.test') return;
|
||||
if(event.origin !== 'http://exchange-2.0.test') return;
|
||||
console.log(event.data);
|
||||
}
|
||||
},
|
||||
|
||||
+1
-3
@@ -64,6 +64,4 @@ Route::get('/customer/{marking}', function ($marking) {
|
||||
return view('pages.customers.profile', ['id' => $id]);
|
||||
})->name('customer.profile');
|
||||
|
||||
Route::get('/order/{id}/download', 'Orders\DownloadOrderQrPdfController@download')->name('order.qr.download');
|
||||
|
||||
Route::get('/test', 'TestController@test')->name('test');
|
||||
Route::get('/order/{id}/download', 'Orders\DownloadOrderQrPdfController@download')->name('order.qr.download');
|
||||
Reference in New Issue
Block a user