[squeak-dev] four Altitude questions

Frank Shearar frank.shearar at gmail.com
Fri Dec 14 09:05:20 UTC 2012


On 14 December 2012 02:15, Colin Putney <colin at wiresong.com> wrote:
>
>
>
> On Thu, Dec 13, 2012 at 7:51 PM, Chris Cunnington
> <smalltalktelevision at gmail.com> wrote:
>
>>
>> 3. ALNotFound:/favicon.ico now shows up with every click.
>
>
> Are you getting 404 responses? If so, you just need to create a resource at
> that url. If not, it's a bug in Altitude.
>
> Something like in your #initializeLocator method:
>
> locator
>     at: (ALPath / 'favicon.ico')
>     put: (ALFileResource on: (FSLocator imageDirectory / 'favicon.ico'))

I follow the ifPresent:ifAbsent: pattern - if I can't map the request
explicitly, I raise an ALNotFound (I might be misremembering the name)
which causes a 404.

frank


More information about the Squeak-dev mailing list