Skip to content

Commit

Permalink
upgrade sw version
Browse files Browse the repository at this point in the history
  • Loading branch information
rowthan committed Jul 18, 2024
1 parent 5152683 commit 27fb0a9
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 20 deletions.
2 changes: 1 addition & 1 deletion apps/web/.cache/author.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/web/.cache/cfd9af87-0210-4934-9e04-20bc708c4206.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/web/.cache/docs.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/web/.cache/pro-plan/tips.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions apps/web/components/permission/PermissionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ const permissionList = [
description: '自动将同类标签页归类至同组,批量管理',
permission: 'tabGroups',
namespace: 'permissions',
supportPlatform: ['chrome','edge','offline'],
supportPlatform: ['offline'],
badge: <FcTemplate />
},
{
name: '侧边栏模式',
description: '以侧边栏代替弹层',
namespace: 'permissions',
permission: 'sidePanel',
supportPlatform: ['chrome','edge','offline'],
supportPlatform: ['offline'],
badge: <TbLayoutSidebarRightCollapseFilled />
},
{
Expand Down
16 changes: 7 additions & 9 deletions apps/web/pages/ext/data.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import React from 'react'
import ImportAndExport from "components/backup/extension/ImportAndExport";
import React, {useEffect} from 'react'
import {basePath} from "../../const/env";

export default function Data() {
useEffect(() => {
window.location.href = window.location.origin + basePath +"/ext/setting.html#/data"
}, []);

return (
<div>
<div className={'max-w-md m-auto mt-20'}>
<div>
<ImportAndExport exportBy={'extension'} />
</div>
</div>
</div>
<></>
)
}
5 changes: 1 addition & 4 deletions apps/web/pages/vip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ import React, {type ReactNode} from 'react';
import NotionContent from "../components/notion/NotionContent";
import { getNotionDocDetail } from 'service/server/doc';
import { NotionDocProp } from 'components/notion/NotionDoc';
import ProPlan from "./widget/pro-plan";
import Plans from "../components/pro/Plans";
import {PlanInfo} from "../typing";
import {getPlansFromServer} from "../service/server/api";
import BasicLayout from "../layouts/BasicLayout";
import ExtLayout from "../layouts/ExtLayout";

interface Props {
children?: ReactNode;
Expand All @@ -33,14 +31,13 @@ export default function expired1(props: {doc: NotionDocProp,plans: PlanInfo[]})

return (
<BasicLayout>
<div className={'m-auto px-6 max-w-7xl py-16'}>
<div className={'m-auto px-6 max-w-5xl py-14'}>
<Plans plans={plans || []} />
</div>
{/*https://page-note.notion.site/da8bdda50ec344f488d7c84ba52faea5?pvs=4*/}
<NotionContent
docId={NOTION_DOC_ID}
notionDoc={props.doc}
// docId={'97d2bd1d27284a9da670fdfb9b25d0fe'}
/>
</BasicLayout>
);
Expand Down
2 changes: 1 addition & 1 deletion apps/web/public/sw.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var preCacheName = 'pre_cache'
var commonCacheName = 'common_cache'
var preCacheFiles = []
var version = "12"
var version = "0.29.16"

var cacheRules = {
whiteList: [],
Expand Down

0 comments on commit 27fb0a9

Please sign in to comment.