update incompatibilities broken link
This commit is contained in:
parent
0afc59da74
commit
7e4f6523b8
2 changed files with 6 additions and 3 deletions
|
@ -94,16 +94,18 @@ do
|
|||
done
|
||||
|
||||
# Actual file processing
|
||||
for htmlfile in $(find -type f -name \*.html)
|
||||
for htmlfile in $(find -type f -name \*.html -not -path "./node_modules/*")
|
||||
do
|
||||
echo -e "${BIBlue}[info] Processing '${htmlfile}' for cache busting...${Color_Off}"
|
||||
|
||||
for resourcefile in $(find -type f -regex '.*\.css\|.*\.js' | sed 's/\.\///g')
|
||||
for resourcefile in $(find -type f -regex '.*\.css\|.*\.js' -not -path "./node_modules/*" | sed 's/\.\///g')
|
||||
do
|
||||
echo "inside loop 1: $resourcefile"
|
||||
# Check if resource is used in html file
|
||||
resourceusage=$(grep -i "$resourcefile" "$htmlfile")
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
echo "inside loop 2: $resourcefile $htmlfile"
|
||||
# This is just for cache busting...
|
||||
# If 7 first characters of SHA1 is okay for git, it should be more than enough for us
|
||||
hash="$(sha1sum $resourcefile | cut -d' ' -f1 | head -c 7)"
|
||||
|
@ -111,6 +113,7 @@ do
|
|||
# Check if resource hash is already correct
|
||||
if ! echo "$resourceusage" | grep -i "=$hash\"" > /dev/null
|
||||
then
|
||||
echo "inside loop 3: $resourcefile"
|
||||
escaped=$(echo $resourcefile | sed 's/\//\\\//g' | sed 's/\./\\./g')
|
||||
sed -Ei "s/${escaped}(\?v=[a-z0-9]+)?/${escaped}?v=${hash}/g" "$htmlfile"
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ A1111 webUI must be launched with the `--api` flag enabled, and the `--cors-allo
|
|||
|
||||
### surprising incompatibilities
|
||||
|
||||
- [microsoft editor extension for chrome/edge seems to disable the overmask slider]()
|
||||
- [microsoft editor extension for chrome/edge seems to disable the overmask slider](https://github.com/zero01101/openOutpaint/discussions/88#discussioncomment-4498341)
|
||||
- [duckduckgo privacy extension for firefox breaks outpainting, resulting in pure black output](https://github.com/zero01101/openOutpaint-webUI-extension/issues/3#issuecomment-1367694000) - add an exception for your openOutpaint host (likely localhost or 127.0.0.1)
|
||||
|
||||
### quickstart speedrun
|
||||
|
|
Loading…
Reference in a new issue