mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-08-07 16:25:16 +00:00
webserver: set a proper mime type for .ico files
we were serving them up as html, which surprisingly firefox was fine with
This commit is contained in:
@@ -170,9 +170,10 @@
|
|||||||
1203 IF X$="txt" THEN M$="text/plain"
|
1203 IF X$="txt" THEN M$="text/plain"
|
||||||
1204 IF X$="png" THEN M$="image/png"
|
1204 IF X$="png" THEN M$="image/png"
|
||||||
1205 IF X$="jpg" THEN M$="image/jpg"
|
1205 IF X$="jpg" THEN M$="image/jpg"
|
||||||
1206 IF N$="teapot.html" GOTO 9000
|
1206 IF X$="ico" THEN M$="image/x-icon"
|
||||||
1207 ONERR GOTO 8000
|
1207 IF N$="teapot.html" GOTO 9000
|
||||||
1208 PRINT "LOADING ";N$
|
1208 ONERR GOTO 8000
|
||||||
|
1209 PRINT "LOADING ";N$
|
||||||
1210 PRINT CHR$(4)+"BLOAD ";N$
|
1210 PRINT CHR$(4)+"BLOAD ";N$
|
||||||
1215 POKE 216,0: REM CANCEL ONERR
|
1215 POKE 216,0: REM CANCEL ONERR
|
||||||
1220 FS=PEEK(43616)+256*PEEK(43617): REM FILESIZE
|
1220 FS=PEEK(43616)+256*PEEK(43617): REM FILESIZE
|
||||||
|
Reference in New Issue
Block a user