Browse Source

260117 最新消息草稿預覽 依環境調整跳轉URL

OMEGA\lulufj.ho 2 weeks ago
parent
commit
229da775dd
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      app/Filament/Resources/NewsResource.php

+ 2
- 1
app/Filament/Resources/NewsResource.php View File

245
 
245
 
246
     public static function table(Table $table): Table
246
     public static function table(Table $table): Table
247
     {
247
     {
248
-        $url = env('APP_URL')=="https://webdev.yico.tw:8088/" ? "https://demo.blockstudio.tw/yichiu/zh/news/" : "https://blockstudio.tw/yichiu/zh/news/" ;
248
+        $url = env('APP_URL')=="https://webdev.yico.tw:8088/" ? "https://demo.blockstudio.tw/yichiu/zh/news/" : "https://www.yico.tw/" ;
249
+        
249
         return $table
250
         return $table
250
             ->columns([
251
             ->columns([
251
                 //
252
                 //