mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +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){
|
||||
super(props);
|
||||
this.state = {
|
||||
path: props.match.url.replace('/view', ''),
|
||||
path: props.match.url.replace('/view', '') + (location.hash || ""),
|
||||
url: null,
|
||||
filename: Path.basename(props.match.url.replace('/view', '')) || 'untitled.dat',
|
||||
opener: null,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ RUN cd /app/ && \
|
|||
# build
|
||||
apt-get update -y && \
|
||||
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 run build && \
|
||||
# prepare for production
|
||||
|
|
|
|||
Loading…
Reference in a new issue