Skip to content

Commit

Permalink
取消订阅限制
Browse files Browse the repository at this point in the history
  • Loading branch information
dreambuildor committed Oct 21, 2023
1 parent 09e2e62 commit 4d9724d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Release Docker Image

on:
workflow_dispatch:
push:
branches:
- master
# push:
# branches:
# - master

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN apk add --no-cache gcc musl-dev git && \
find /opt/siyuan/ -name .git | xargs rm -rf

FROM alpine:latest
LABEL maintainer="Liang Ding<845765@qq.com>"
LABEL maintainer="jiangzhiming<jiangzhiming@live.com>"

WORKDIR /opt/siyuan/
COPY --from=GO_BUILD /opt/siyuan/ /opt/siyuan/
Expand Down
2 changes: 1 addition & 1 deletion app/src/util/needSubscribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export const needSubscribe = (tip = window.siyuan.languages._kernel[29]) => {
};

export const isPaidUser = () => {
return window.siyuan.user && (0 === window.siyuan.user.userSiYuanSubscriptionStatus || 1 === window.siyuan.user.userSiYuanOneTimePayStatus);
return true;
};

0 comments on commit 4d9724d

Please sign in to comment.