diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 45a0274e..2827fb12 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -75,7 +75,7 @@ jobs: - name: Checkout V8Go uses: actions/checkout@v3 with: - repository: rogchap/v8go + repository: yaoapp/v8go # ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb path: v8go diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 36ce72a4..b63e15b9 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -56,7 +56,7 @@ jobs: - name: Checkout V8Go uses: actions/checkout@v3 with: - repository: rogchap/v8go + repository: yaoapp/v8go # ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb path: v8go diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 7cbcf9b2..66383e99 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -150,7 +150,7 @@ jobs: - name: Checkout V8Go uses: actions/checkout@v3 with: - repository: rogchap/v8go + repository: yaoapp/v8go # ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb path: v8go diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 02e89552..07b9e685 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -107,7 +107,7 @@ jobs: - name: Checkout V8Go uses: actions/checkout@v3 with: - repository: rogchap/v8go + repository: yaoapp/v8go # ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb path: v8go diff --git a/.gitignore b/.gitignore index 162dd4f1..b5bea6ba 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,8 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out +*.log + # Dependency directories (remove the comment below to include it) # vendor/ .DS_Store @@ -35,4 +37,4 @@ xgen/v1.0/* !xgen/v1.0/index.html !xgen/v1.0/umi.js !xgen/v1.0/layouts__index.async.js -*-unit-test \ No newline at end of file +*-unit-test diff --git a/sui/api/request.go b/sui/api/request.go index 2a402a89..5e6fdf5b 100644 --- a/sui/api/request.go +++ b/sui/api/request.go @@ -102,7 +102,12 @@ func (r *Request) Render() (string, int, error) { } // Save to The Cache - c = core.SetCache(r.File, html, dataText, globalDataText) + // c = core.SetCache(r.File, html, dataText, globalDataText) + c = &core.Cache{ + Data: dataText, + Global: globalDataText, + HTML: html, + } log.Trace("The page %s is cached", r.File) }