mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 16:32:31 +01:00
bugfix (#37): fix hash issue in URL
This commit is contained in:
parent
a44d30f779
commit
30e1c34cdf
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ export class ViewerPage extends React.Component {
|
||||||
constructor(props){
|
constructor(props){
|
||||||
super(props);
|
super(props);
|
||||||
this.state = {
|
this.state = {
|
||||||
path: props.match.url.replace('/view', ''),
|
path: props.match.url.replace('/view', '') + (location.hash || ""),
|
||||||
url: null,
|
url: null,
|
||||||
filename: Path.basename(props.match.url.replace('/view', '')) || 'untitled.dat',
|
filename: Path.basename(props.match.url.replace('/view', '')) || 'untitled.dat',
|
||||||
opener: null,
|
opener: null,
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ RUN cd /app/ && \
|
||||||
# build
|
# build
|
||||||
apt-get update -y && \
|
apt-get update -y && \
|
||||||
apt install -y libssl-dev build-essential automake python libcurl3-dev && \
|
apt install -y libssl-dev build-essential automake python libcurl3-dev && \
|
||||||
npm install nodegit --build-from-source && \
|
npm install nodegit --build-from-source > /dev/null && \
|
||||||
npm install && \
|
npm install && \
|
||||||
npm run build && \
|
npm run build && \
|
||||||
# prepare for production
|
# prepare for production
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue