GithubHelp home page GithubHelp logo

Comments (7)

tinyc-z avatar tinyc-z commented on August 23, 2024

有看下 api,好像叫
:plant_id/latest

from app-host.

AoEiuV020 avatar AoEiuV020 commented on August 23, 2024

@tinyc-z 不是说api, 是说网页,有没有办法获取最新版的网址?
比如http://example.com/helloDemo
然后网址分享出去后别人可以保存书签,我这边每次更新版本他依然可以用这个地址下载到最新版本,

from app-host.

tinyc-z avatar tinyc-z commented on August 23, 2024

最新版网页和 api 都有 @AoEiuV020

from app-host.

AoEiuV020 avatar AoEiuV020 commented on August 23, 2024

@tinyc-z 抱歉我还是没有找到,能不能举个例子?建议更新到README.md中,
比如我现在一个app的版本列表页面地址是,
http://localhost:3000/apps/1/plats/1
然后最新版本下载页面地址是,
http://localhost:3000/pkgs/3
上传更新之后,最新版本下载页面地址是,
http://localhost:3000/pkgs/4
然后我的问题是,这个下载页面地址发生了变化,
那么是否存在一个地址会始终重定向到最新版本下载页面,可以提供给不懂技术的别人测试,
不是获取最新版本号的api,也不是获取最新下载页面地址的api,是能直接在浏览器打开的网页地址,

from app-host.

tinyc-z avatar tinyc-z commented on August 23, 2024

web page:
http://localhost:3000/plats/1/latest
or api:
http://localhost:3000/api/plats/1/latest

from app-host.

AoEiuV020 avatar AoEiuV020 commented on August 23, 2024

@tinyc-z 刚试了下,不行,报错“The page you were looking for doesn't exist.”
有没有版本要求?我用的是docker上的版本tinyc/app-host:lastest

image

from app-host.

tinyc-z avatar tinyc-z commented on August 23, 2024

尴尬。。才记起来,在 develop 分支上,哈哈哈哈

from app-host.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.