#14 Add workaround for --directory flag breaking in preview.sh script
Merged 5 years ago by asamalik. Opened 5 years ago by jflory7.
fedora-docs/ jflory7/template change/fix-preview-script  into  master

file modified
+2 -1
@@ -13,5 +13,6 @@ 

      echo ""

      echo "The preview is available at http://localhost:8080"

      echo ""

-     python3 -m http.server --directory ./public 8080

+     cd ./public

+     python3 -m http.server 8080

  fi

Closes #13.

Maybe this isn't the cleanest fix, but it does work on my machine and gets the job done. It's a fairly trivial change.

I've posted a comment in the issue, can't reproduce the error, let's talk in the issue.

OK, this fix is necessary for f28. Thanks @jflory7 !

Pull-Request has been merged by asamalik

5 years ago
Metadata