Skip to content

Commit

Permalink
更改URL路径
Browse files Browse the repository at this point in the history
  • Loading branch information
summerinsects committed Feb 2, 2024
1 parent 014bd11 commit b0dab58
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Classes/Other/OtherScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

USING_NS_CC;

#define WWW_PATH "https://summerinsects.github.io/ChineseOfficialMahjongHelper/"

static std::string g_text;

bool OtherScene::init() {
Expand Down Expand Up @@ -80,5 +82,7 @@ void OtherScene::onCompetitionButton(cocos2d::Ref *) {

void OtherScene::onRecreationsButton(cocos2d::Ref *) {
Director::getInstance()->pushScene(
CommonWebViewScene::create(__UTF8("娱乐消遣"), "http://www.tziakcha.xyz/almanac.html", CommonWebViewScene::ContentType::URL));
CommonWebViewScene::create(__UTF8("娱乐消遣"),
WWW_PATH "almanac.html",
CommonWebViewScene::ContentType::URL));
}

0 comments on commit b0dab58

Please sign in to comment.