refactor /file/skyfile to /skyfile
This commit is contained in:
parent
2a3f22c692
commit
40eaf42111
|
@ -32,7 +32,7 @@ export default class HomeUpload extends Component {
|
||||||
return {
|
return {
|
||||||
files: [
|
files: [
|
||||||
...state.files.slice(0, index),
|
...state.files.slice(0, index),
|
||||||
{ ...state.files[index], status, url: `https://siasky.net/file/${skylink}` },
|
{ ...state.files[index], status, url: `https://siasky.net/${skylink}` },
|
||||||
...state.files.slice(index + 1)
|
...state.files.slice(index + 1)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue