apex / apex/up

Dynamic app static serving of index.html files

オープン
#636 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
Feature Request
主要言語
Go
スター
8.8k
フォーク
383
PR マージ指標
30日以内にマージされた PR はありません

説明

## Prerequisites

* [x] I am running the latest version. (`up upgrade`)
* [x] I searched to see if the issue already exists.
* [x] I inspected the verbose debug output with the `-v, --verbose` flag.
* [ ] Are you an Up Pro subscriber?

## Description

I have a node.js app with a `public` directory containing index.html - however visiting `/` does not serve index.html. All the other files in my `public` directory are served fine.

My up.json looks like this:

```
{
"name": "test-app",
"static": {
"dir": "public"
}
}
```

If I add `"type": "static"` to my config, index.html is served fine

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。